stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 891
|
Re: Help on SQL???
Hi, try:
select e.Name, e.Address, l.LocationName
from
tblEmployees e INNER JOIN tblLocations l ON (e.fldLocationID=l.fldLocationID)
You either have to specify all fields in the SELECT, or use Retrieve Fields method on the grid and hide the field you don't want.
Hope this helps,
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|