Arlina
3rd October 2019, 12:09
Hi All,
I am running a session manually. But variable job.process is boolean 1.
Can anyone help, please?
Thanks,
Arlina
bdittmar
3rd October 2019, 14:10
Hello,
boolean job.process 4R Indicates if process is started by a job.
if job.process = true then
[short = if job.process then]
else
endif
Main routine
The main routine displays the first form on the screen and waits for a command.
function main()
{
before.program
read.form()
after.form.read
init.references
create.sql.queries
if background then
get.ref.var(parent)
read record
endif
db.bind(tmain) | Not in type 4
if job.process then | Only type 4
before.choice.run.job
execute(cont.process) or on.choice.run.job
after.choice.run.job
execute(end.program)
endif
zoom.from.on.entry
for each field on form
init.field
put.attributes()
endfor
change to start index | Not in type 4
init.form
execute start event
before.form
while true
input.choice()
if update.status and choice <> ... then | Not in type 4
on.update.db()
| See "update database" section
endif
on case choice
case <choice.option>
before.<choice.option>
on.<choice.option>
after.<choice.option>
break
case ...
....
endcase
endwhile
Bool <> 0 is TRUE, are you able to check the situation where the predefined variable is set to TRUE ?
Regards