Populating a JDE Oracle form

Advanced programming using WinTask scripting language

Populating a JDE Oracle form

Postby Carroll on Fri Oct 12, 2012 8:31 am

I populate a JDE Oracle form with WinTask using an Excel file. Sometimes, one field is not properly filled, only the last digits are typed. The code is:
WriteHTML("INPUT TEXT[NAME= 'a_town']", data$(i))
How can I slow down?
Posts: 9
Joined: Tue Aug 30, 2005 2:13 pm

Re: Populating a JDE Oracle form

Postby TechSupport on Mon Oct 15, 2012 8:17 am


This happens when the field is not yet in a stable position when WriteHTML writes. You can use #HTMLPosRetry=1 to force a check that the field is in the same position after half a second. So the code would be:
WriteHTML("INPUT TEXT[NAME= 'a_town']", data$(i))

Come back to the default value as soon as you don't need anymore the check, like that you don't slow down the next html functions.

WinTask Tech Support
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am

Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 1 guest