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

An example of a VB code, one can put on the event procedure of the button

P: 2
i am asking for a sample of a VB code, that i can use to program on to a button to pop-up a table that the user can input values and save and close the table. The button is on a Form View, where the user will see as they open the database
Aug 9 '07 #1
Share this Question
Share on Google+
2 Replies


Scott Price
Expert 100+
P: 1,384
i am asking for a sample of a VB code, that i can use to program on to a button to pop-up a table that the user can input values and save and close the table. The button is on a Form View, where the user will see as they open the database
Are you looking for the DoCmd.OpenTable method? For correct syntax look in the VBA editor help window (position cursor in OpenTable somewhere and press F1 in the VBA editor window.)

This will go in the OnClick event of your command button.

Regards,
Scott
Aug 9 '07 #2

Scott Price
Expert 100+
P: 1,384
This looks like an identical question (and identical answer) as this previous post:

http://www.thescripts.com/forum/thread690339.html

Please do not post identical questions. If needed add to your original post, which will 'bump' it to the top of the forum listing.

Regards,
Scott
Aug 9 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.