By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,483 Members | 1,544 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,483 IT Pros & Developers. It's quick & easy.

Detecting saved data

P: n/a
Hi

I have a tab control with one tab having a sub form on it. When the tab is
changed by user I need to detect if the form had a new record added to it by
user which was saved as a result of user switching the tab. How can I do
that? The reason is that my further processing depends on the fact if user
added a new record or not.

Thanks

Regards
May 27 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"John" <Jo**@nospam.infovis.co.uk> schreef in bericht news:c_********************@pipex.net...
Hi

I have a tab control with one tab having a sub form on it. When the tab is
changed by user I need to detect if the form had a new record added to it by
user which was saved as a result of user switching the tab. How can I do
that? The reason is that my further processing depends on the fact if user
added a new record or not.

Thanks

Regards


Use code in the AfterInsert-event of the sub to
set a flag or
make a control visible or
beep or ... ??
If you want to detect this only when you switch the tab then I guess you also need to use the change-event of the tab.

Arno R
May 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.