This topic is locked

Dependend lookup asprunner 6.3

8/26/2011 1:30:46 PM
ASPRunnerPro General questions
A
andrews author

Hi All,
I the following dependend lookup.
Partno Desc qty Price1 Price2
When you select Partno the desc,qty,Price1,Price2 is automatically populated.
I would like to set the partno to a static default value but still have the other fields populates automatically.
The prices can thus be updated in the Table for the static Partno.
I tried using the default value for the field. The value is inserted into Partno but the auto filling does not work for desc,qty,Price1,Price2
Any help would be sincerely appeciated.
Thank you

Sergey Kornilov admin 8/29/2011

Autofill won't work if you assign a default value - you need to select the value from dropdown box manually.
Instead of using a default value you can try using Javascript API:

http://xlinesoft.com/phprunner/docs/javascript_api.htm
Specifically, you need to use setValue() function:

http://xlinesoft.com/phprunner/docs/ctrl_setvalue.htm
Give it a try.
If more help is required post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.