G
Guest
I posed this question some time ago and just got around to testing the
suggestion by one of the MVP's here. I can't get it to work. Could someone
help me please? It fails on the wherecondition. According to the online
help for the "openform" method, the where condition is looking for a valid
SQL statement. Im not sure how to proceed. Previous question and response,
as follows:
Use the OpenForm method's WhereCondition argument to open
the form with the selected record. If you open the form in
Dialog mode, your code will stop executing until the form is
closed, at which time you can requery the subform:
DoCmd.OpenForm "anotherform", _
WhereCondition:= "Key = " & Me.txtKey, _
WindowMode:= acDialog
Me.Requery
suggestion by one of the MVP's here. I can't get it to work. Could someone
help me please? It fails on the wherecondition. According to the online
help for the "openform" method, the where condition is looking for a valid
SQL statement. Im not sure how to proceed. Previous question and response,
as follows:
I wish to double click on a record contained in a subform in continuous forms >view. The record's fields would then displayed in another form,
changes Could then be applied to selected fields of the
record.
Use the OpenForm method's WhereCondition argument to open
the form with the selected record. If you open the form in
Dialog mode, your code will stop executing until the form is
closed, at which time you can requery the subform:
DoCmd.OpenForm "anotherform", _
WhereCondition:= "Key = " & Me.txtKey, _
WindowMode:= acDialog
Me.Requery