H habbabub Registered User. Local time Today, 14:07 Joined Jan 24, 2008 Messages 73 Mar 5, 2008 #1 how can i send text from a text feild from one form to another form using that text as the criteria to run the query?
how can i send text from a text feild from one form to another form using that text as the criteria to run the query?
Mile-O Back once again... Local time Today, 22:07 Joined Dec 10, 2002 Messages 11,316 Mar 5, 2008 #2 I think you are going to have to elaborate on your actual problem here. Such generic questions can, like this one, appear unclear as to the intention.
I think you are going to have to elaborate on your actual problem here. Such generic questions can, like this one, appear unclear as to the intention.
H habbabub Registered User. Local time Today, 14:07 Joined Jan 24, 2008 Messages 73 Mar 6, 2008 #3 i have a string in vb from one form, and i like to pass that to another form so that ID="123" in form 1 is that same in form 2 (ID=123) and then how can i use that to do an sql query to search for ID? and spit all hte data into text feilds? thanks!
i have a string in vb from one form, and i like to pass that to another form so that ID="123" in form 1 is that same in form 2 (ID=123) and then how can i use that to do an sql query to search for ID? and spit all hte data into text feilds? thanks!
Dennisk AWF VIP Local time Today, 22:07 Joined Jul 22, 2004 Messages 1,649 Mar 6, 2008 #4 If both forms are open then you can reference any control using the following notation myControl=Forms!formsName!ControlName If only the receiving form is open then the source form would have to store data. A global variable springs to mind or a column in a table. Last edited: Mar 7, 2008
If both forms are open then you can reference any control using the following notation myControl=Forms!formsName!ControlName If only the receiving form is open then the source form would have to store data. A global variable springs to mind or a column in a table.
D durexlw Registered User. Local time Today, 23:07 Joined Feb 27, 2008 Messages 23 Mar 6, 2008 #5 Also, look at this thread: http://www.access-programmers.co.uk/forums/showthread.php?t=144978
T tehNellie Registered User. Local time Today, 22:07 Joined Apr 3, 2007 Messages 751 Mar 6, 2008 #6 You can also pass parameters/data between forms using openargs but if both forms are open then Dennisk's suggestion is probably easier to understand.
You can also pass parameters/data between forms using openargs but if both forms are open then Dennisk's suggestion is probably easier to understand.