General information
Category:
Coding, syntax & commands
>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.
Previous
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