using a macro to input data in a field

jessiep

New member
Local time
Yesterday, 23:45
Joined
Jul 6, 2006
Messages
7
I have a button that will do two different functions 1 to open a form and 2 input data into the classType field. In order to do this would I need to use a Macro with setValue? How do I do this?? When the button is clicked input “CPP” in to the classType field of the EqTable.


Please Help!!
Jessie
 
jessiep said:
I have a button that will do two different functions 1 to open a form and 2 input data into the classType field. In order to do this would I need to use a Macro with setValue? How do I do this?? When the button is clicked input “CPP” in to the classType field of the EqTable.
I do not use macros but using VBA with the OnClick event of your button would be a simple...

Code:
txtClassType = "CPP"
txtClassType is the name of the text box that is bound to the ClassType field of your table.
 

Users who are viewing this thread

Back
Top Bottom