does anyone know a way to make a button to refresh a form. this is to avoid having to close the form and re-open it. i'm very new to access so please be gentle. thanks!
The Refresh method immediately updates the records in the underlying record source for a specified form or datasheet to reflect changes made to the data by you and other users in a multiuser environment. (This paragraph is from the Access tutorial)
The Refresh method immediately updates the records in the underlying record source for a specified form or datasheet to reflect changes made to the data by you and other users in a multiuser environment. (This paragraph is from the Access tutorial)
While your on the subject,
How would you make a command button update the tabel
(this is a data entry type form), and move on to the next empty record for the next input. I don't want any of the information saved untill the form is complete and the command button in clicked. I'm sure besides the button properties there may be some to modify in the text boxes and combo boxes I am using. It's a simple form linked to only one table?
Thank you .
That did the job and quite easily.
Guess its time to bring in that VB Book I got in school that made me not want to get into programming and opt for networking. But database is part of networking and database can include some programming. So I better get up to speed. Man, us newbies have a lot to learn.
I am just the opposite. I have a degree in networking, but I do not like it any where near as well as help desk work and programming/databases. I just enjoy solving problems. I am happier doing this kind of work. I have figured out that it is better to be happy and not make as much money, than to have my pockets stuffed with money and be completely stressed out and miserable. So, to every one every where, do what you enjoy. Life is too short, and way too precious.
I have had a similar problem with refreshing but i cant seem to make your solution work.
I am adding a new record in a seperate popup form and then returning to the main form.
I have done a onfocus
Me.Refresh
(doesn't work)
Also tried a button
(doesn't work)
Well Fule,
I have a form that contains records for companies.
I also have a command button on this form to add a new company. When pushed this pops up and the user can fill it in and save the record, close the form.
I have got the refresh to work now on a button event on the original form. But I can't get it to work automaticly, i.e. - on the get focus.
Thanks for your help but it doesn't seem to update using the docmd.openform from the popup. any other ideas. Can I refresh a form from another form.
I tried
Cool,
that works, yippy. But the original form has 4 tabs. Is there a property I can set to open to the right tab?
If not thanks heaps for ur help anyway.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.