Command buttons

R

Rhianne

Please could someone explain to me command buttons. I wish to include them in
my form so as to , find record/save record/delete record/add record.

How do I go about validating them and having them work!
 
S

scubadiver

At the far left of the form edit toolbar, you will see a button with a wand
on it. Press it and then press the "command button" button. Create the button
and then go through the wizard.
 
R

Rhianne

thanks for your help. Does this mean that when I am ready to go "live" with
the database, these commands should automatically work? I shan't need to do
anything else to them?
 
S

scubadiver

They should do yes. Go to the "event" tab in the properties of the button.
You will see [event procedure] in the "on click" event. When you enter that
mouse into that line, you will see a "..." at the far right. Click on it and
the VBA screen will open.
 
R

Rhianne

Ok, I've done that, but not sure what I'm looking at. Is this the text for
the procedure that access reads?
 
S

scubadiver

Yep! Its called Visual Basic for Access (or VBA for short).

I thought you would like to know just for your benefit.
 
M

Mr B

Not to be pickey, but just FYI:

VBA stands for Visual Basic For Applications. This is the programming
language that is used in all of the Office suite as well as other
applications. It is a sub set of VB. It provides the capability for "Office
Automation" and other programming capabilities.
 
Top