NetTalk Central

Author Topic: Progress and Start button  (Read 3790 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Progress and Start button
« on: March 04, 2020, 07:25:31 AM »
How to change the button text when a proccess has been finished?

Or how to open a popup message when the procces are finished?
« Last Edit: March 04, 2020, 07:44:00 AM by michelis »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Progress and Start button
« Reply #2 on: March 09, 2020, 06:04:11 AM »
When making a Report the user knows its ready because it sees it.

My subject "Progress and Start button" is wrong.

I use the FileUpload to upload a file, this works ok.
then I have button to proccess this file importing it to a data base.
How to message the user to inform that the import proc has been finished OK or has some error or so?
« Last Edit: March 09, 2020, 07:12:05 AM by michelis »
-----------
Regards
Alberto

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Progress and Start button
« Reply #3 on: March 09, 2020, 05:31:05 PM »
The concept for the progress field is the same for processing your import as procesing records for a report.

In your import procedure, just set the progress value per the docs as usual.

Then, in the form where your progress field is located, find where the progress is updated.  You should find a variable called Loc:Progress.  If I remember correctly, you should find a condition like:

If Loc:Progress = 100 ...

Add your code based on that condition to call a popup message or inform the user with the generated "hyperlink." 

Good luck,

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11