Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem - Option box not updating table

Status
Not open for further replies.

stburke

Technical User
Apr 23, 2009
1
US
Hi all,
I have a series of option boxes in a form which after update they change the value from -1, 0, 1 to Yes, No, N/A and save them in the respective table. My problem is I set the option box default value to 1 to save time and end up not getting that data recorded in the table. It only records it if I change the option box from one value to another. Any Suggestions?
 
after update" doesn't fire on a control without user interaction with the control or calling the code from some other event. You would need to set the value elsewhere.

If you want more help, please explain what you mean by "they change the value".

Duane
Hook'D on Access
MS Access MVP
 
set the default value in the table rather than in the option box

Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
ie the default field in the table not default property of the control

Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
Oh so you did...

Ian Mayor (UK)
Program Error
9 times out of 10 I know what I'm talking about. This must be my tenth reply.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top