Connecting Tech Pros Worldwide Help | Site Map

Retrieving matching records in a database

  #1  
Old April 14th, 2006, 06:15 AM
tucker95112@gmail.com
Guest
 
Posts: n/a
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, 08:55 AM
Trevor Best
Guest
 
Posts: n/a

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualItemCount in datagrid. archana answers 3 April 13th, 2007 08:35 PM
How can I speed up an Access database with SQL backend. Matt.W.Stephens@gmail.com answers 12 November 15th, 2006 02:05 AM
Desperate help needed on tables in .php Ladysniper@gmail.com answers 7 May 30th, 2006 11:15 PM
Retrieving Specific Records Mark Hargreaves answers 2 July 23rd, 2005 07:55 AM