Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

displaying output of an external exec

Featured Replies

  • Newbies

Hello,

I'm new to FM as you will soon find out :) Good to find this place.

Situation:

Connecting to my SQL Server 2000 works fine and it can display tables, read fields, modify fields,all is good. I'm trying to exec sql queries through the ODBC, after executing, there is a slight delay (obviously working), and then, nothing.

Question:

How to view the output of the exec query?

Thanks

Roy

The optimal way of interoperating with SQL Server is to use "External SQL Sources" (ESS), which it sounds like you have working. With ESS, you don't have to write an SQL at all.

However, there may be times when you want to execute SQL statements directly - for example, if you need to execute a stored procedure. In that case, there are two FM script steps which support ODBC: "Execute SQL" and "Import Records".

"Execute SQL" is for SQL statements that don't return a recordset, such as INSERT and UPDATE statements. "Import Records" is for executing SQL statements that return recordset, such as the SELECT statement. Either one can be used for executing stored procedures.

Jonathan Monroe

Actual Technologies - ODBC for Mac OS X

http://www.actualtech.com

  • Author
  • Newbies

Fantastic, "import records" works great.

Thank you Jonathan!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.