sillybilly012
|
| Posted: 05/03/2011, 8:26 AM |
|
I need Search & return result to a FORM (Search Builder returns to a Grid
only)
Find & Edit - with a Record on the screen I need the user to find an item by
typing to a input box FIND and press Search Button. (If there are more than
1 option to Next Match)
If the item is Found display the record or give an error and clear the input
box
|
|
|
 |
andy
Posts: 183
|
| Posted: 05/03/2011, 12:23 PM |
|
To redirect the user to a record (edit/new maintenance page) then use the Return Page property on the Data tab of the Search form's properties. Once the user presses the Search button it will then redirect them to the maintenance page and pass the search parameters in the url.
In order to display the desired record then as part of your search criteria directly you will need to get the primary key field e.g. create a listbox whose bound field is the primary key and whose Text column is the related text value.
Otherwise you will have to lookup the primary key using the search form's after update event e.g. using CCDLookup function and then add it on as a parameter to the URL e.g. using CCAddParam function
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |
 |
 |
|