Solved how to Find a record on another form (1 Viewer)

smig

Registered User.
Local time
Today, 21:01
Joined
Nov 25, 2009
Messages
2,209
Hello

I need to find a specific record on another open form.
I want to select the "RecordName", based on the "RecordID"
How can I do that ?

Thanks
 

Minty

AWF VIP
Local time
Today, 19:01
Joined
Jul 26, 2013
Messages
10,371
You could use a recordset clone of the forms recordset, then a find first on that.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 02:01
Joined
May 7, 2009
Messages
19,245
why do you need to find it in the form?
you can find it in the table/query using Dlookup().
 

smig

Registered User.
Local time
Today, 21:01
Joined
Nov 25, 2009
Messages
2,209
why do you need to find it in the form?
you can find it in the table/query using Dlookup().
I requery the form to show some changes made.
I need to go back to the record I was in
 

theDBguy

I’m here to help
Staff member
Local time
Today, 11:01
Joined
Oct 29, 2018
Messages
21,474
I requery the form to show some changes made.
I need to go back to the record I was in
Hi. Just curious, rather than use this,

Me.Requery

try it this way,

Me.Recordset.Requery
 

smig

Registered User.
Local time
Today, 21:01
Joined
Nov 25, 2009
Messages
2,209
I'll try to explain the situation better

I have a form with two SubForms
The top one show a list of records and the bottom one show some data for the selected record on top.

After editing data in the Bottom one I need to requery the top one to reflect some changes made.
Now I need to go back to the record I edited
 

Minty

AWF VIP
Local time
Today, 19:01
Joined
Jul 26, 2013
Messages
10,371
Use recordset method and a bookmark.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 14:01
Joined
Feb 19, 2002
Messages
43,275
Just FYI,
Forms don't store data. Tables store data. If you're looking for data, look in a table, NOT in a form.
 

Users who are viewing this thread

Top Bottom