Regarding Script Execution
- How-to
- SHAMEEM KAKKAD
- PowerBuilder
- Monday, 24 January 2022 11:39 AM UTC
Hai,
I have a doubt....
How can manage the script execution ?.
that is...
In a button click have lot of line and prepairing a datawindow from various tables and conditions. After that I want to open a window (window type = popup) and doing some works. After only I want to execute some other process.
So, How can hold to execute last process without complete a window (popup) functions ?.
......................................
......................................
.......................................... etc..
if ProfileString ("xxx.ini", 'Database', "DSautosend" ,"") = 'Yes' then
int li_FileNum
string readdata_
li_FileNum = FileOpen(filepath_, TextMode!)
FileReadEx(li_FileNum, readdata_)
fileclose (li_FileNum)
openwithparm (w_instand_messaging,readdata_)
end if
*** -------- here I want to hold the below lines (scripts) until the process complete from above window ----------- ***
do while x_ <= cc_
data_ = dw_2.getitemstring ( x_ , 5 )
vital_ = autopastedata ( dw_2.getitemstring ( x_ , 5 ) )
if vital_ <> '+++' then dw_2.setitem ( x_ , 5 , vital_ )
vital_ = autopastedata ( dw_2.getitemstring ( x_ , 6 ) )
if vital_ <> '+++' then dw_2.setitem ( x_ , 6 , vital_ )
fx_ = 10
do while fx_ <= 25
vital_ = autopastedata ( dw_2.getitemstring ( x_ , fx_ ) )
if vital_ <> '+++' then dw_2.setitem ( x_ , fx_ , vital_ )
fx_ ++
loop
...............................................................
...............................................
x_ ++
loop
What is the solution ?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.