Jayz
ISP
- Feb 17, 2002
- 59
Can someone please show me how to create a search form that will open another form with the results.
Here's the scenario:
I have one form which contains the data [dataform] with the following fields:
[sub_date]
[company]
[product]
[Country]
I have a search form [searchfrm] with the following text & combo boxes:
[first_date]
[Last_date]
[company1](this is a combo box)
[product1](this is a combo box)
[Country1](this is a combo box)
And a button named [cmdsearch].
I would like to have the user enter info into any Or all of the boxes in the [searchfrm]and click on the button [cmdsearch] which will open the form [dataform] and display the filtered results from the users entry.
At the same time, if the user just enters a few characters into any of the boxes (other than the dates) it will produce a wildcard search.
eg entering "a" in [company1] and "c" in [product1]will produce all company's begining with "a" and have products begining with "c"
Can somone please supply step by step instructions on how to go about doing this.
Much appreciated:=)
Jay
Here's the scenario:
I have one form which contains the data [dataform] with the following fields:
[sub_date]
[company]
[product]
[Country]
I have a search form [searchfrm] with the following text & combo boxes:
[first_date]
[Last_date]
[company1](this is a combo box)
[product1](this is a combo box)
[Country1](this is a combo box)
And a button named [cmdsearch].
I would like to have the user enter info into any Or all of the boxes in the [searchfrm]and click on the button [cmdsearch] which will open the form [dataform] and display the filtered results from the users entry.
At the same time, if the user just enters a few characters into any of the boxes (other than the dates) it will produce a wildcard search.
eg entering "a" in [company1] and "c" in [product1]will produce all company's begining with "a" and have products begining with "c"
Can somone please supply step by step instructions on how to go about doing this.
Much appreciated:=)
Jay