G
Guest
Hi,
I have accomplished this several times, but something must be different
about the latest two cases. And it is intermitent at best.
I have a main form that opens. On the on_load, ( I have tried on load, on
open, on current, and on activate) I set the record source of the sub form to
a stored proc with a paratmeter. ei
Me!frmOrderDetail.Form.RecordSource = "Exec spOrderDtlTempSelect '" &
strTempTable & "'"
The variable is populated. I get the following message:
"You entered an expression that has an invalid reference to the property
Form/Report."
I swore this was working this morning. Is there some "watch outs" that
should be followed when doing this? I found another case today that while is
returning a different message, is failing about 35% of the time.
Any thoughts?
Steve
I have accomplished this several times, but something must be different
about the latest two cases. And it is intermitent at best.
I have a main form that opens. On the on_load, ( I have tried on load, on
open, on current, and on activate) I set the record source of the sub form to
a stored proc with a paratmeter. ei
Me!frmOrderDetail.Form.RecordSource = "Exec spOrderDtlTempSelect '" &
strTempTable & "'"
The variable is populated. I get the following message:
"You entered an expression that has an invalid reference to the property
Form/Report."
I swore this was working this morning. Is there some "watch outs" that
should be followed when doing this? I found another case today that while is
returning a different message, is failing about 35% of the time.
Any thoughts?
Steve