Dear Sergey,
This is a common form for two processes, it is required to be in the foreground in one process and background in one process.
It is working fine for fore ground ... but background is a problem.
Thanks & Regards,
KUMAR
>Hi Kumar,
>
>Why do you need modal form to do processing if you're not showing it? Can you move the processing code to the program or non-visual class and run it from there?
>
>>Hi,
>>
>>I am facing a problem with code execution,
>>
>>I am calling a form (which is modal) with NOSHOW option.
>>
>>This form does some processing and automatically unloads.
>>
>>It is processing the form in background..... but it is not waiting for the form to close. The control is shifted to the next statement following the
>>
>>DO FORM "formname" WITH "parameters" TO "variable" NOSHOW
>>
>>Now my next statement depends on the variable which is returned by the form.
>>
>>Please note that I dont want to use DO WHILE...ENDDO or FOR...ENDFOR as this hampers my foreground process by giving a wait status.
>>
>>I would be gratefull if you could help me.
>>
>>Thanks & Regards,
>>KUMAR.
Kind Regards,
KUMAR ANTUREKAR.