Formerly Best Training
© 2024 STL. All Rights Reserved.
All prices offered for business users and exclude VAT. E&OE
2nd Floor, CA House, 1 Northey Street, Limehouse Basin, London, E14 8BT. United Kingdom
Forum home » Delegate support and help forum » Microsoft Access Training and help » ms access courses in london - Subquery?
Resolved · Low Priority · Version Standard
Hi Sabrina
Basically a subquery is query inside a query. If you want to write the SQL for this yourself, you can go into SQL view within the query. The code you need will be something very similar to this:
SELECT * FROM Yourtab1 WHERE YourName IN (SELECT YourName FROM Yourtab2 WHERE Yourtab2.SurnameName=Yourtab1.SurnameName);
Hope this helps
David
|
Access tip:Combo box for finding recordsYou can use a combo box in a form to look up a record. If you place the comb box in the Form header, by then selcting they a field type from the drop down loist, you will see the record for it |
We'll call during UK business hours
Server loaded in 0.07 secs.