I'm missing a trick to get a field to update with a "status" message before running an INSERT FROM URL...what's happening is that the INSERT FROM URL runs, THEN the status message updates.
I want to give the user a message like "Starting your 'x' job" before running the INSERT FROM URL.
I've tried doing a commit after the SET field, but the field doesn't display until the IFURL returns.
Do I need to do a delay or something before the IFURL?
Usually, some combination of Refresh Object, Refresh Screen, and/or Pause/resume script works well for this. Here's an example where all that's needed is Pause/Resume:
// show progress in a log field
Set Field [ globals::gSMSlog ; "Preparing to send to " & $N & " recipients" ]
Pause/Resume Script [ Duration (seconds): .5 ]
[...]
// log the URL
Pause/Resume Script [ Duration (seconds): .5 ]
Set Field [ globals::gSMSlog ; "Sending request:¶¶" & $url ]
// use CURL to do the transfer
Insert from URL [ Select ; With dialog: Off ; Target: $out ; $url ]
// log the result
Pause/Resume Script [ Duration (seconds): .25 ]
Set Field [ globals::gSMSlog ; globals::gSMSlog & "¶¶Result:¶¶" & $out & "¶¶" ]