|
-
Sep 12th, 2008, 09:00 AM
#1
Thread Starter
Addicted Member
Help creating A - Z search buttons
I have been asked to include a search page for my database that uses a simple A - Z button interface to select customer records by last name, and allow the end user to scroll through a datagridview to pick the user they want.
I can handle 95% of this additional form with any trouble (in fact, if I wanted to do it the hard way, I could get all of it!). However, I want to make these buttons as efficient as possible by using only one subroutine to handle all of them. Basically, how can I pass the Tag information from the button into the subroutine and use it for the query?
I'm thinking the sub declaration wil include a strTag as String in the () section, but I don't know how to send the Tag from the button to that declaration.
Any help?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|