I am not using a query to select data for the detail popup
form. On a subform listing all records, I click on the
record that I would like to see detail and execute a macro
(open form) with the where condition :
[Forms]![Locate Turn Id by Contact Person Sub Frm]!
[TurnId] Like [TurnId]
On the Sub form - Locate Turn Id by Contact Person Sub Frm
I have a field call TurnId, I want to click on the TurnId
and have it open a new form called TurnFrm that displays
the detail info about the TurnId. I get a popup asking
for ENTER PARAMETER VALUE... [Forms]![Locate Turn Id by
Contact Person Sub Frm]![TempTurnId]. If I enter the
turid number, the correct information is displayed. I've
tried reversing the Like statment and get the same result.
-----Original Message-----
Sounds as if the query that you're using as the RecordSource of the "popup"
form has a parameter in it that needs to be filled, and then you're also
using the WHERE argument of the OpenForm action to filter the form's
contents (records from the recordsource's query).
If you're using the WHERE argument in the OpenForm action, then likely you
can delete the parameter from the query (a parameter is anything for which
the query needs a value: could be [Enter a value:] or
[Forms]![FormName]![ControlName] or such).
If this doesn't help, post back with the popup form's query's SQL and the
specific macro actions that you're using, including the arguments.
--
Ken Snell
<MS ACCESS MVP>
I have a subform listing multiple records. I want to be
able to click on a record and have a new form open listing
the details. I tried running a macro(open form) when
clicking on the record, but I get a popup window asking
for the value then the form opens with the correct
window. I used the expression builder to set the where
condition. Any ideas?
.