On occasion the WhereCondition in the method OpenForm does not perform what it should. It seems that the form is already stuck with a previous used value in an earlier attempt to open the form.
I have verified that the WhereCondition parameter is actually set before calling OpenForm but it still does not work.
If I manually open the form, enter design mode, reset the property "Server Filter", close the form and save and then retry the OpenForm method with the WhereCondition it works!!!
What is going on??
I have verified that the WhereCondition parameter is actually set before calling OpenForm but it still does not work.
If I manually open the form, enter design mode, reset the property "Server Filter", close the form and save and then retry the OpenForm method with the WhereCondition it works!!!
What is going on??