Page 1 of 1

Salesperson look-up on job cards

Posted: Wed Feb 22, 2006 9:58 am
by Natalie Mitchell
I'd like users to be able to press a button on service manager job cards and be presented with a list of salespeople they can select from. And then paste the selection back into the field on the job card. What script would I need to do this?

Posted: Wed Feb 22, 2006 10:00 am
by COBS Tech Support
From the Screen Builder add a field called "SALESMAN" and be sure to tick "Look-up button".

Then press the Formula tab and paste this script into the Editor window:

If ButtonPress
SCRLookUp("COMRATE", "SALESMAN", 1)
Endif