Hi Friends !
As you know SalesHeader.Status contains 2 options (Open & Released ) .
I add a additional option "Overdue" to SalesHeader.Status. At time, SalesHeader.Status contains 3 options (Open, Released, Overdue).
When I enter to quantity in sales line, it may the customer of this order be overdue and I update SaleHeader.Status-> Overdue... but I must CLICK on SalesHeader to see the Status be updated.
Can you help me the other way to focus the SalesHeader?
Thank you so much.
Linh.
0
Comments
This is done when you focus on the header.
However, you could force the system to update the controls at certain intervals. This you could do in the OnTimer Trigger of the Sales Order Form.
If you MUST do this, then you could put CurrForm.UPDATE in the OnTimer Trigger.
then set the TimerInterval Property of the Sales Order Form to 1000*Interval (in seconds)
This is better than Just Focusing on the header since you would still have to continue keying data in the sales line like Unit Price
For instance, if I add one information in the subform, or when I activate the form, I want the cursor be placed on a particular field... How can I do that..
I tried to use the next in the OnActivate trigger on the Form:
but, it doesn't do anything...
I tried to search in the forum but..... there are too many things to be able to read...
Any one as a solution ?
Thanks...
But oh my foes and oh my friends, it gives a lovely light
The line of code you are using is correct:
Currform.NameOfTheField.ACTIVATE;
But you must put it in the correct trigger - Id try putting it on the OnDeActivate trigger of whatever field you want to direct...
But a second easier way would be to redesign your form, remove the fields, and re-add the fields to the form in the order you wish the tab order to be -> then move them around the form to look as you wish.
If you have lots of code under your fields already this might not be worth it, but if it is just a plain form this should be easier.
-a
-a