Connecting Tech Pros Worldwide Help | Site Map

Retrieving matching records in a database

 
LinkBack Thread Tools Search this Thread
  #1  
Old April 14th, 2006, 05:15 AM
tucker95112@gmail.com
Guest
 
Posts: n/a
Default Retrieving matching records in a database

I am trying to have a search form feed criteria to a query which is the
basis for a list box in a search matches form. I cant seem to get the
variables to transfer from the search form to the matches form. the
variables were declared as public. any ideas?


  #2  
Old April 19th, 2006, 07:55 AM
Trevor Best
Guest
 
Posts: n/a
Default Re: Retrieving matching records in a database

tucker95112@gmail.com wrote:[color=blue]
> I am trying to have a search form feed criteria to a query which is the
> basis for a list box in a search matches form. I cant seem to get the
> variables to transfer from the search form to the matches form. the
> variables were declared as public. any ideas?
>[/color]

queries cannot see vba variables, you can however do either of 2 things:

1. Write a function to return a variable's value or
2. Reference a control on a form, e.g. forms!myform!mytextbox
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.