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

Use specific value in the last record in a query

Status
Not open for further replies.

Sylvialn

IS-IT--Management
Dec 28, 2000
101
US
I am trying to use a value located in the last record of a query. I need to know how to access the value through the code builder. I would like to go to the query, locate the last record in the query, and use a specific value located in one of the fields in the query. I have tried the .MoveLast method,b ut cannot get it to work, or anything else.
 
create a recordset from the query
then movelast
then get the field value you want from that record.

If you want the correct syntax for all that the give us the names of all the objects you're working with.

HTH
PsychPt@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top