Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
User Termination of reports
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: User Termination of reports (Read 8154 times)
Gary C.
Posts: 109
User Termination of reports
«
on:
August 01, 2011, 10:10:50 am »
Hi
Can anyone suggest a method by which I can allow a user to terminate a report whilst it is being processed. Typically I do the following:
1. Get the user to enter the report criteria (customer range, date range etc)
2. Calculate the number of records to process
3. Start the report
4. Display a progress bar in a small form
5. Loop through the records, update the progress bar and output to the report
6. Finish the report
I have tried adding a cancel button to the progress window and monitoring int_flag within the foreach but of course there is no active dialog and so the cancel button is inactive.
Any suggestions/ideas would be very welcome.
Thanks
Gary
Bernard M.
Posts: 45
Re: User Termination of reports
«
Reply #1 on:
August 01, 2011, 11:54:33 am »
Hello,
You should have a look at our documentation, there is an example given how to deal with report interruption in the Reports Tutorial:
https://4js.com/online_documentation/fjs-fgl-manual-html/User/TutChap09.html#Interrupt
Regards,
Bernard
Gary C.
Posts: 109
Re: User Termination of reports
«
Reply #2 on:
August 02, 2011, 11:18:29 pm »
Bernard
Thanks for the link - not sure how I managed to miss it! Anyway - all working now so thanks again.
Gary
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...