stLinkCriteria to match fields to form and subform on that form

Kyriakos

Registered User.
Local time
Today, 23:47
Joined
Feb 18, 2006
Messages
42
A bit big title I guess... Anyway I think you got the picture of what I am looking.

I have this form and I link on that, through stLinkCriteria, two fields to open a form with a subform on it.

Using this code:

stLinkCriteria = "[Offer_No]= '" & Me![Offer_No] & "' AND [Species]= '" & Me![Species] & "'"

works fine If I only want to open a form.
But now I need both the opening form and the subform to (not exactly sure if this is the correct way to express it) link as well, so that I could only once input data.

How is this possible?
Any help is welcome....
 
Pat thanks for answering. Perhaps I wasn't clear enough (or my knowledge is limited enough :D ) . On my main form I would have to fill some fields.These values should on the same time be passed to a linked form and on a subform on that form....If I use the OpenArgs property then (if I got it right) I would have to give a certain key each time? Because if this is true, then it cannot help me...Can you clear this out?

Thanx
Kyriakos
 

Users who are viewing this thread

Back
Top Bottom