Form, popup form (1 Viewer)

SantoR

Registered User.
Local time
Today, 11:22
Joined
Apr 20, 2015
Messages
38
i have continuous form having a source as table A.
when i click a displayed field value from the table A in this form, a pop form is opened (by passing the Primary key) which displays all the details of that record from the same table A.

Now i have a one more button on this popup form , which opens a seond popup form , which allows user to select any other records (Primary Key) and see its details on first popup form.

main form ---->first popup form---->second popup form.
(all accessing same table.)

All works fine but when i select other primary key from second pop form and pass it to first popup form , it does not refer it , it refers to old primary key of main form only.


i believe, we cannot point at two different records in a table at same time ?

any solution or work around to this situation.
 

burrina

Registered User.
Local time
Today, 00:52
Joined
May 10, 2014
Messages
972
I would try a OnClickEvent Requery and see if that helps.
 

spikepl

Eledittingent Beliped
Local time
Today, 07:52
Joined
Nov 3, 2010
Messages
6,142
pass it to first popup form

Do you pass it as I pass water? Or how exactly?
 

vbaInet

AWF VIP
Local time
Today, 06:52
Joined
Jan 22, 2010
Messages
26,374
... displays all the details of that record from the same table A.

i believe, we cannot point at two different records in a table at same time ?
Sounds very much like a flawed design. Are you aware of the term, "normalisation"?

To move to a particular record, use the FindFirst method of the form's recordset.
 

JHB

Have been here a while
Local time
Today, 07:52
Joined
Jun 17, 2012
Messages
7,732
..
Now i have a one more button on this popup form , which opens a seond popup form , which allows user to select any other records (Primary Key) and see its details on first popup form.
...
Why that second popup form, why not just select an other record in the main form?
 

Users who are viewing this thread

Top Bottom