Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query of Access getting problem

Status
Not open for further replies.

dinu79

Programmer
Mar 24, 2002
17
0
0
IN
Hi
I want to writer a query in access so that it takes one value from the forum and other from the table compare those values and give me other corresponding values from the table
I wrote qurey such as
select table.id
from table where (table.id=detail.textboxvalue)
is it wrong
if u have any suggestion then plz send me the correct form of this query
thanx
 
you're nearly there:

select table.id
from table
where (table.id=Forms!detail.textboxvalue);

should do it.

Ben
----------------------------------
Ben O'Hara
bo104@westyorkshire.police.uk
----------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top