1). I use the # sign in the format property of numeric fields, however they still show a ZERO. Can I surpress zeros.
2). I have a LIST form with some global fields that are in the tab order. When the form is first displayed, the cursor seems to go to the 1st list item and I have to press the tab key to get to the first global field. Is there a way to have the cursor start on this field?
3). I would like to have the form start showing NO data until the user enteres the search criteria in the global fields and presses the search button. How can I do this?
blomasky:
1). I use the # sign in the format property of numeric fields, however they still show a ZERO. Can I surpress zeros.
Is it a calculation or just a numeric field?
2). I have a LIST form with some global fields that are in the tab order. When the form is first displayed, the cursor seems to go to the 1st list item and I have to press the tab key to get to the first global field. Is there a way to have the cursor start on this field?
you can set the tab-order inthe field properties. or use a give a field a name. It than becomes an element. than you can do: elements.requestfocus() if you attach this for instance to the onShow property of a form, the cursor alwats starts there.
3). I would like to have the form start showing NO data until the user enteres the search criteria in the global fields and presses the search button. How can I do this?
make a method: foundset.clearfoundset() and attach it to the onLoad of a form.
Sorry, I did not explain myself properly. I have a form with 3 global fields and a SEARCH button. I want the users to tab between the fields and when the user either presses the button or presses enter, the onaction for the button triggers.
Just attach the same script to all the globals (use the onAction property)
The script will always fire when hitting ENTER.
(note: the cursor must have a focus on one of the globals)