Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The WhereCondition in OpenForm has no effect

Status
Not open for further replies.

awpinf

Programmer
Apr 16, 2007
1
SE
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??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top