cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles