Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a form with a button that when I execute it carries out a series of filters on tables and displays the results by using the browse command. In the filter I have 2 date fields. If I populate the date fields manually in the on-click event everything works fine. If I take the values from the 2 text boxes on my form into the program I get a :
>
>Object is not contained within a Form.
>
>Therefore how can I browse my results successfully if I am taking the values from text boxes on a form rather than putting the values in manually?
I don't think you can bind things in that fashion. The fastest workaround would be to assign the textbox.values to a local variable and have the BROWSE reference that variable. The more complete workaround would be to use a grid instead of a browse. Much more control, but an equal amount of complexity.
Chris.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement