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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Update a FORM

Status
Not open for further replies.

Compuboy

Programmer
Jun 8, 2004
38
US
My DB is in Access 2002.
Right now my form displays information based on a Cord Blood Table. However, when a new sample is added into the table, it's information is not displayed in the form until the form is closed then opened again. When I look at the bottom of the form, the recordset size does not even changed when a new record is added in the table. So the form definately can't display something that is not even in its set of records.

My question is: Is there any command to update the recordset or any other way for the form to be updated so that the information of the newly-added item will be displayed in the form (when I scroll to it from the bottom arrows) without closing then opening it. (Maybe if a made an update button to click on...what code would I put under OnClick)

Or if there is no way to do the above. Is there any way I can make a button to close and then reopen the form??

THANKS.
 
OOPS, forgot to say you should also read up on .DataEntry property of the form in help, it may be relevant

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top