cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
FN
FN
Level VI

Wait until ODBC query is finished

New SQL Query() has several options for ODBC connections.

Run several database queries (ODBC) in background and combine data afterwards, how to control runnin... 

 

<< Run

<< Run Foreground (On Complete())

<< Run Background

...

Wait(0)

 

Still is not clear to me what's the simplest way to wait until the query is finished and the table is ready, 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Wait until ODBC query is finished

My guess for those is:

  • <<Run Background, will always continue script execution after query is started
  • <<Run Foreground, will wait for the query to complete before continuing the script execution
  • <<Run, will depend on your preferences

There are also at least couple of other ways to run queries in JMP: Open Database() and Execute SQL().

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Wait until ODBC query is finished

My guess for those is:

  • <<Run Background, will always continue script execution after query is started
  • <<Run Foreground, will wait for the query to complete before continuing the script execution
  • <<Run, will depend on your preferences

There are also at least couple of other ways to run queries in JMP: Open Database() and Execute SQL().

-Jarmo