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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Data from tables

Status
Not open for further replies.

Jengo

Programmer
Apr 17, 2000
100
US
How can I access data from a table using this method:<br><br>Dim dbs As Database<br>Dim tdf As TableDef<br>Dim fld As Field<br><br>DoEvents<br>Set dbs = CurrentDb()<br>Set tdf = dbs.TableDefs(&quot;Employee Table&quot;)<br>tdf.Fields?????<br><br>For example how can I get the 5th cell of the third row?<br>
 
have you tried the DLookup function?<br>this gives you the ability to look up a certain field with within certain criteria. <p>Brian Famous<br><a href=mailto:bfamous@ncdoi.net>bfamous@ncdoi.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top