Hi!
Anonye tried to make a list form with the oppurtunity to search for a specified field and set focus on that field by code?
I need to avoid scrolling to much and wonder if there is a way to use the
currform.control.activate and put in the name of control I want by code.
(something like currform.MyValue.activate, where MyValue is the field I have entered in my search field).
I can get the field name and caption by searching through the Field table but haven't found a way to solve this problem.
Any ideas?
0
Comments
CTRL-F or F7
?
http://www.BiloBeauty.com
http://www.autismspeaks.org
I want to search amoung the Colums in a list.
For example in the Customer list (Form 22), I enter "Blocked" in my search field and I want the system to move the focus to that Column.
IF CurrForm.ACTIVE THEN
CurrForm.MyColumn.ACTIVATE;
Bye
Eclipses
MySpecificSearchFieldValue = Option (to avoid typing errors) -> Value are the coloumns that u will use (for example ,No.,Name,Phone No.)
New TextBox with the MySpecificSearchFieldValue as seourceexpr.
Then in the OnAfterValidate of the textBox you write the following
Do you need this for setting a filter in this coloumn by using a other textbox where the user enter you filtercriteria?
Regards