Colin@Toyota
What's an Access?
- Local time
- Today, 18:34
- Joined
- May 2, 2006
- Messages
- 203
Might be a slightly confusing title, so I appologize for that... But hopefully it was confusing enough to get some people to take a look at my problem!
To start, I have a table with 7 fields; six of which are attributes, the seventh being a unique number assigned to each unique combination of attributes. Now I have a form with an option group for one of the attributes, and the rest are combo boxes that are all unbound. A query with criteria set to each of the controls on the form allows users to decipher the unique number based on each combination of attributes. Fine. I have it set up so that the unique number displays in a textbox near the bottom of the form. It is correct the first time I set the attribute combinations, but if I change any of them, the textbox is not updated with the new (and correct) unique number.
The textbox uses a dlookup function to source the number from the query.
I have tried .requery, .repaintobject, etc in the textbox and form properties in several places (on current, afterupdate, on click, etc.) all to no avail.
Any help or suggestions would be reaaaaaally appreciated.
I am sure it is something fairly simple, and a year ago I probably wouldn't have needed to post a question. But unfortunately, I am quite rusty, as I havent used Access for anything but simple queries for at least the last 12 months...
Cheers,
Colin
To start, I have a table with 7 fields; six of which are attributes, the seventh being a unique number assigned to each unique combination of attributes. Now I have a form with an option group for one of the attributes, and the rest are combo boxes that are all unbound. A query with criteria set to each of the controls on the form allows users to decipher the unique number based on each combination of attributes. Fine. I have it set up so that the unique number displays in a textbox near the bottom of the form. It is correct the first time I set the attribute combinations, but if I change any of them, the textbox is not updated with the new (and correct) unique number.
The textbox uses a dlookup function to source the number from the query.
I have tried .requery, .repaintobject, etc in the textbox and form properties in several places (on current, afterupdate, on click, etc.) all to no avail.
Any help or suggestions would be reaaaaaally appreciated.
I am sure it is something fairly simple, and a year ago I probably wouldn't have needed to post a question. But unfortunately, I am quite rusty, as I havent used Access for anything but simple queries for at least the last 12 months...
Cheers,
Colin