Results 1 to 2 of 2
  1. #1
    robsworld78 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Posts
    181

    change value of field on all records when form opens

    Hi, I have a form with a subform, one of the fields on the subform already has data in it when I open this form however when I open this form I want that field to change to 0 from whatever it currently is on all records.



    The subform is set as continuous form and in the on load event I put
    Me.BarsReturned = 0
    that works but it only changes the first record in the subform, I want it to change all records to 0.

    Wherever I put Me.BarsReturned = 0 it will only change the first record.

  2. #2
    robsworld78 is offline Competent Performer
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Posts
    181
    how do you delete a thread, I dont need an answer, this won't work

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

Similar Threads

  1. Replies: 9
    Last Post: 04-11-2011, 10:55 PM
  2. Auto Sort ID Field When DataBase Opens
    By lyndon.pace in forum Reports
    Replies: 1
    Last Post: 04-08-2011, 10:06 AM
  3. Replies: 1
    Last Post: 03-07-2011, 10:48 AM
  4. non modifiable form opens on clicking .mdb
    By kkukreja in forum Access
    Replies: 1
    Last Post: 02-09-2011, 04:47 AM
  5. Form opens for only seconds
    By MFS in forum Programming
    Replies: 5
    Last Post: 11-04-2010, 09:33 PM

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