Move Cursor/Mouse to specific field on Form [message #301944] |
Fri, 22 February 2008 07:24 |
nkelleher
Messages: 8 Registered: November 2006 Location: South Africa
|
Junior Member |
|
|
Hi.
I am trying to move my mouse/cursor to a specific field on a form in CUSTOM.pll. I found the function go_item but since the custom code is in a when-validate-record event it give me and illegal error saying i can't use the go_item function.
Any more pointers would be hugely appreciated.
Thanks
Nicki
|
|
|
|
Re: Move Cursor/Mouse to specific field on Form [message #302236 is a reply to message #301945] |
Mon, 25 February 2008 00:38 |
nkelleher
Messages: 8 Registered: November 2006 Location: South Africa
|
Junior Member |
|
|
Thanks for the input.
This is a standard form so I can't change the order of it.
I do the validation on the invoice number field in AP Invoices and if an invoice is in a custom table, which I check for historical invoices, then it displays a message, clears the field and should go back to the invoice field.
Don't think I can use the next Navigation Item property either.
Any other ideas.
|
|
|
|
Re: Move Cursor/Mouse to specific field on Form [message #302262 is a reply to message #302257] |
Mon, 25 February 2008 01:34 |
nkelleher
Messages: 8 Registered: November 2006 Location: South Africa
|
Junior Member |
|
|
The validation works fine but I have to do a when-validate-record because there is no when-validate-item trigger on the invoice number field in the standard form. It would be fine if there was because I could do the check on the invoice number field and the cursor would stay in the field. I know this because i did a show custom code on the form.
Is there any way of adding a when-validate-item trigger on the field?
|
|
|