Create code to select records

GS1

Registered User.
Local time
Today, 00:35
Joined
Jul 3, 2002
Messages
30
Hi

I have never used VB before, so could someone tell me, in foolproof steps if possible, if I can create a single piece of code that can control record select buttons in a form.

Using a previous example of code from the forum, I was able to control buttons on a form, but would like to be able to control buttons on every form with a single piece of code.

The link to the code I used is

http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=24863&highlight=macro+AND+halt

I have a sneaking suspicion that i could create a module that I can refer all of my buttons to - am i barking up the right tree here or do i just need to go into each form and put the code in?

I know that this is a very basic question, but I am new to access and Vb.

:D

G
 
Hi GS1,

If you create a module and put your subs and functions in there, you should be able to call them from any form in your access database without issue.

Christopher.
 

Users who are viewing this thread

Back
Top Bottom