G goconnect Registered User. Local time Today, 23:50 Joined Apr 26, 2001 Messages 11 May 4, 2001 #1 Hi How can I pass the value to query? Do I need to set the recordset...or something.. If you have any sample, could you send it to me?? Thanks
Hi How can I pass the value to query? Do I need to set the recordset...or something.. If you have any sample, could you send it to me?? Thanks
P Pat Hartman Super Moderator Staff member Local time Today, 18:50 Joined Feb 19, 2002 Messages 47,594 May 4, 2001 #2 It depends on where the value is. If it is in a control on an open form you can use: Select ... From ... Where YourFld = Forms!YourFormName!YourControlName;
It depends on where the value is. If it is in a control on an open form you can use: Select ... From ... Where YourFld = Forms!YourFormName!YourControlName;
G goconnect Registered User. Local time Today, 23:50 Joined Apr 26, 2001 Messages 11 May 4, 2001 #3 Thanks for reply Pat Hartman!! But ..I put the code to form or query?? I just Use NUMBER to store the value. DIM NUMBER as integer I try to put [FORMS]![form1]![NUMBER] to the query..but nothing come out... Thanks for help 1st
Thanks for reply Pat Hartman!! But ..I put the code to form or query?? I just Use NUMBER to store the value. DIM NUMBER as integer I try to put [FORMS]![form1]![NUMBER] to the query..but nothing come out... Thanks for help 1st