CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2005
    Posts
    45

    Question to fill this column last modified user info in the database.

    I have a pc of code that has been suggested to use.
    but unsure what that pc of code does and how would i use it to write to the database. Just fYI, i am writing to other fields in the database. Just this field last modified i do not have a clue. Please provide me with any samples. thanks/Saru

    oops! i almost forgot to include this below:

    What is the best way to use this code and fill last modified column in the db field.

    LCase(Replace(Request.ServerVariables("AUTH_USER"), "WLT\", ""))

  2. #2
    Join Date
    Dec 2003
    Location
    Northern Ireland
    Posts
    1,362

    Re: to fill this column last modified user info in the database.

    That piece of code just returns a string..

    If the server variable AUTH_USER has a value, it will return the lower case version of it.. If "WLT\" is part of the variable, it will remove it from the string.

    Failing to see how this code can access a database.
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook


    0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010

  3. #3
    Join Date
    Nov 2005
    Posts
    45

    Re: to fill this column last modified user info in the database.

    I am a beginner. I still do not understand that pc of code.
    Thanks

  4. #4
    Join Date
    Dec 2003
    Location
    Northern Ireland
    Posts
    1,362

    Re: to fill this column last modified user info in the database.

    Have you got any programming experience?
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook


    0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured