S
Stephen
I have a form with a subform that is based upon an in-line function.
The user enters a search string (strSearchField) on the form and then this
is used as the search parameter in the in-line function.
The functions and forms work well, except that when the form and subform
load/open for the first time, the system is asking me for the strSearchField
I have been looking at why this occurs and I cannot figure it out.
I have tried to set the recordsource of the subform to "Me.RecordSource =
"SELECT * FROM fctAccountSearchResults(' ')" in the subform's OnOpen event
and this doesn't work
I have tried to set the recordsource of the subform to "Me.RecordSource =
"SELECT * FROM fctAccountSearchResults(' ')" in the subform's OnLoad event
and this doesn't work
When the form/subform open, I want the subform's resultset to be empty. How
do I do this?
HELP?
The user enters a search string (strSearchField) on the form and then this
is used as the search parameter in the in-line function.
The functions and forms work well, except that when the form and subform
load/open for the first time, the system is asking me for the strSearchField
I have been looking at why this occurs and I cannot figure it out.
I have tried to set the recordsource of the subform to "Me.RecordSource =
"SELECT * FROM fctAccountSearchResults(' ')" in the subform's OnOpen event
and this doesn't work
I have tried to set the recordsource of the subform to "Me.RecordSource =
"SELECT * FROM fctAccountSearchResults(' ')" in the subform's OnLoad event
and this doesn't work
When the form/subform open, I want the subform's resultset to be empty. How
do I do this?
HELP?