General information
Category:
Coding, syntax & commands
Title:
Search Form Replays
OK, y'all, here's the deal: when the user presses the search button on my toolbar, I pop up a search form on top of the existing form. There is a button on the search form that allows the user to switch indexes. Say, for example, that the user invokes the search from the Customer form. The default search is by Customer Name, and the button's caption is "Cust. #". If the user presses this button, I Release and Destroy the search form and call it again with an entirely new set of parameters. The caption on the button is now Cust. Name. Everything works great. BUT: when the user finally accepts or cancels, I get a rapid replay of each search form invoked. If the user switches back and forth between indexes 4-5 times, the search form flashes 4-5 times before returning to the original form. In Darwinian terms, ontogeny recapitulates phylogeny.
How do I stop this evolutionary behavior?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only