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!

Help with recordest Function

Status
Not open for further replies.

Leaner79

Programmer
Jan 17, 2006
25
0
0
BW
Hi. I'd like help with recordset.

I have a form that i use to capture data. When i click a button I would like to have a message box to be displayed, showing the last record i entered in a particullar field.
 
Why not use a Domain Function.
Msgbox DLast("FieldName", "TableName", "Criteria = '" & Me.SomeField & "'")

The domain function will work fine without the need to open a recordset.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top