execute a command w/ a different arg for each record in access?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I can create a button that will execute a command line, but I want the button
to execute a command line with a different argument for each record that is
viewed by the form. How do I do this?
 
csimmons said:
I can create a button that will execute a command line, but I want the button
to execute a command line with a different argument for each record that is
viewed by the form.

What is a "command line"?

If it is a VBA statement in the button;s Click event
procedure, then just refer to the field the determines the
record's key.
 
I can create a button that will execute a command line, but I want the button
to execute a command line with a different argument for each record that is
viewed by the form. How do I do this?

Please explain what you're starting with and what you wish to do. Some sort of
Query would be one idea; opening a Recordset and stepping through the records
would be another. Which would be appropriate in your case? I have no way to
guess.

John W. Vinson [MVP]
 
Back
Top