Results 1 to 2 of 2
  1. #1
    jgelpi16 is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544

    Question SQL not updating record

    I have the below SQL running. I have a table with the date values and the field name matches. Whenever it runs nothing gets inserted into the field. I even have a msgbox displaying after the fact showing the value of the variable....value is present in the variable. I do have the values in the table defaulted to 0. Thanks in advance for the help.



    Code:
        mySQL = "UPDATE tblDivBreakdown SET [HSLC00_Div5]=" & vFieldVal & " WHERE [BegWk]=#" & vBegWk & "#"
        CurrentDb.Execute mySQL, dbFailOnError

  2. #2
    jgelpi16 is offline Expert
    Windows XP Access 2010 32bit
    Join Date
    Mar 2010
    Location
    Charlotte, NC
    Posts
    544
    Did not have date field in table set as date/time...

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Record Selection, email and then table updating
    By ballj_35 in forum Programming
    Replies: 4
    Last Post: 10-05-2010, 01:41 PM
  2. updating a record
    By markjkubicki in forum Programming
    Replies: 18
    Last Post: 09-19-2010, 08:20 AM
  3. AfterUpdate not updating
    By P5C768 in forum Programming
    Replies: 6
    Last Post: 06-10-2010, 02:31 PM
  4. Updating another record table with command button
    By erlan501 in forum Programming
    Replies: 5
    Last Post: 04-26-2010, 09:03 AM
  5. FE & BE Updating
    By mastromb in forum Access
    Replies: 5
    Last Post: 02-12-2010, 11:55 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums