User Profile

Collapse

Profile Sidebar

Collapse
jmarcrum
jmarcrum
Last Activity: Oct 2 '10, 03:41 AM
Joined: Oct 4 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nothing happened when i used document.lastMo dified. It was just a blank webpage. However, I changed browsers and it worked fine. I was using Google Chrome. The code works fine in IE or Firefox. Not sure why??
    See more | Go to post

    Leave a comment:


  • I created a page called test.shtml. The error is like this, "Last modified on undefined NaN, NaN"
    See more | Go to post

    Leave a comment:


  • jmarcrum
    started a topic adding last modified date at end of webpage

    adding last modified date at end of webpage

    Hi everyone,

    Thank you in advance for your help on this!!

    I have the below javascript at the bottom of my SHTML webpage. It gives and "undefined NaN" error when I test it. However, the code works fine in HTML. I have to keep the webpage in SHTML format due to includes... can someone help me modify my javascript so it will work?

    Code:
    <SCRIPT language=JavaScript type=text/javascript>
    ...
    See more | Go to post

  • jmarcrum
    replied to Option Compare Text Not Working!
    That got it...

    Thanks Plater!

    Code:
    string imgTest = fuImgs.FileName;
    bool answer = imgTest.EndsWith(".jpg", StringComparison.CurrentCultureIgnoreCase);
    See more | Go to post

    Leave a comment:


  • jmarcrum
    replied to Error referencing label in a GridView
    I will say that lblEval is Unbound and the error is:

    "Object reference not set to an instance of an object"
    See more | Go to post

    Leave a comment:


  • jmarcrum
    started a topic Error referencing label in a GridView

    Error referencing label in a GridView

    Hello!

    I have created a TemplateField inside my GridView and want to reference the Label which is in the first column of each row. I am getting an error everytime I debug?!

    Can anyone please tell me what I am doing wrong? Thanks in advance!

    Code:
    //Get the reference to the row
    GridViewRow gvr = (GridViewRow)(((Control)sender).NamingContainer);
    
    //Get the reference to the Evaluation
    ...
    See more | Go to post

  • jmarcrum
    replied to Option Compare Text Not Working!
    I'm not sure that is entirely accurate.. have you investigated before posting? This is my code...

    Code:
    //Get the name of the link to save 
    string origName = fuImgs.FileName;
    string linkName = origName.Replace(".JPG", ".lnk");
    If I put ".JPG" in lowercase ~ ".jpg" it doesn't replace.

    Did you test your theory? I am using Visual Studio 2008...
    See more | Go to post

    Leave a comment:


  • jmarcrum
    started a topic Option Compare Text Not Working!

    Option Compare Text Not Working!

    I am trying to use Option Compare Text in Visual Studio 2008. Can you not use Option Compare Text at the top of the code in Visual C#? It doesn't recognize it.

    Thanks for your help!
    See more | Go to post

  • jmarcrum
    replied to Powerpoint Combo-boxes
    Got It

    I figured it out...Instead of

    Code:
    Private Sub cmb92_GotFocus()
    It's supposed to be

    Code:
    Private Sub cmb92_DropButtonClick()
    See more | Go to post

    Leave a comment:


  • jmarcrum
    started a topic Powerpoint Combo-boxes

    Powerpoint Combo-boxes

    Hello Everyone!

    Thank you for taking the time to view my question! I have a powerpoint slide that I have put a combobox on. In code, I populate the combo box when the user clicks on the drop-down arrow. The code seems to be working fine, however... :)

    When the user clicks the drop down arrow, only 1 record is showing. If they click it a second time, it lists all 13-14 records. Why is it doing this? I want all 13-14...
    See more | Go to post

  • Hey yall,

    I figured out a solution!
    Code:
    SELECT IIf(IsNull([CrewCode]),"",Format$(Right([CrewCode],Len([CrewCode])-1),"0000")) AS [Check]
    FROM tblCrews
    ORDER BY IIf(IsNull([CrewCode]),"",Format$(Right([CrewCode],Len([CrewCode])-1),"0000")) DESC;
    See more | Go to post
    Last edited by NeoPa; Dec 22 '08, 12:04 AM. Reason: Please remember to use the [CODE] tags provided

    Leave a comment:


  • MS Access Skip the first character in a field and then sort

    Hey everyone!

    I'm working in Access 2003 and need help with the 'order by' in a query. I have an CrewCode that includes a letter as well as numbers, and I want to sort by the numbers. The CrewCodes are for instance:

    D5159
    D1801
    D337
    D5276

    When I just sort by ascending, it's all out of order. How would I do this?

    THANKS SO MUCH!!!
    See more | Go to post

  • jmarcrum
    started a topic DATEDIFF Function Weeks

    DATEDIFF Function Weeks

    Hey eveyone,

    Here's what i got...I got 2 fields in a Table, WeekNum and Year, let's say WeekNum=42 and Year=2008. On a form I created, a user can click a button and a textbox will pop up allowing the user to enter a WeekNum and Year. I want to compare that new WeekNum and Year with the one already in the Table (WeekNum=42 and Year=2008) and if it's DIFFERENCE is <= 18 months, Exit the sub procedure. Is there a function for this...
    See more | Go to post

  • jmarcrum
    started a topic Change IP Address in Windows XP

    Change IP Address in Windows XP

    Hey al!

    How do I change my IP Address in Windows XP? I know it is a simple question but, I'm using Windows XP and I can't figure out how to do it?!

    Thanks in advance!
    See more | Go to post

  • jmarcrum
    started a topic Change IP Address

    Change IP Address

    Hey al!

    How do I change my IP Address in Linux? I know it is a simple question but, I'm using Redhat Linux and I can't figure out how to do it?!

    Thanks in advance!
    See more | Go to post

  • jmarcrum
    started a topic IP Address

    IP Address

    Hi everyone!

    Here is a SIMPLe question, but not so simple of an answer!

    Where is my IP Address stored? I mean physically stored! Is is assigned by DHCP onto my harddrive somewhere or is it kept on the switch of my network? I know I can change it but going to ipconfig but...

    Physically? Where is it stored?

    Thanks a million!
    See more | Go to post

  • jmarcrum
    replied to How to pull records BEFORE 1/1/2008
    I used StartDate because it's more important than CompleteDate for the company
    See more | Go to post

    Leave a comment:


  • jmarcrum
    replied to How to pull records BEFORE 1/1/2008
    Hey Fish!

    I try what you are suggesting in an Access query...

    SELECT tblTreeTrimming .StartDate, tblTreeTrimming .CompleteDate, Max([StartDate]) AS MaxStartDate FROM tblTreeTrimming WHERE (([StartDate]<#1/1/2008#));

    But it says that StartDate and CompleteDate are not part of an aggregate function?
    See more | Go to post

    Leave a comment:


  • jmarcrum
    started a topic How to pull records BEFORE 1/1/2008

    How to pull records BEFORE 1/1/2008

    Hi everyone,

    I have a Budget table with two fields that I am concerned about (StartDate and CompleteDate). Items can be entered into the table more than once. Some items have StartDate = 3/4/2005 and CompleteDate = 4/4/2005, THEN, another record in the table lists that SAME itemID and lists its StartDate = 3/4/2008 and CompleteDate = 4/4/2008. So, there are two separate records!

    What I want to do, is...If the StartDate...
    See more | Go to post

  • jmarcrum
    started a topic Question: Must use an updateable query??

    Question: Must use an updateable query??

    Hey guys,

    I have a query that when i try and run it in code,

    DoCmd.SetWarnin gs False
    DoCmd.OpenQuery "qryOutageCMICh eck"
    DoCmd.SetWarnin gs True

    It gives me an error, "Must use an updateable query"

    Why would this be the case? Here's my query...

    [CODE=VB]UPDATE qryOutageCMISum INNER JOIN tblOutages ON qryOutageCMISum .CaseNumber = tblOutages.Case Number...
    See more | Go to post
No activity results to display
Show More
Working...