Hi,
I hope someone can give me a hand with this problem as I've been struggling with it for days and haven't got anywhere.
I have a form with a subform on it. The subform has a few command buttons. The buttons modify some of the data on the main form and I need the have the data on the main form refeshed after the buttons are clicked. This works fine for one of the buttons but it won't work on the other. The command I'm using is:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
The extra confusing thing is that if I manually click a refresh button after clicking the problem button then it refreshes properly. I really need to have this automated so is there any other method that anyone can suggest?
TIA
Tom
I hope someone can give me a hand with this problem as I've been struggling with it for days and haven't got anywhere.
I have a form with a subform on it. The subform has a few command buttons. The buttons modify some of the data on the main form and I need the have the data on the main form refeshed after the buttons are clicked. This works fine for one of the buttons but it won't work on the other. The command I'm using is:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
The extra confusing thing is that if I manually click a refresh button after clicking the problem button then it refreshes properly. I really need to have this automated so is there any other method that anyone can suggest?
TIA
Tom