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.

how to detect FM Pro error (vbscript)

Featured Replies

Hi,

I have created the following, a client page with a form . This gets sent to an asp page, which contains the following code. (strAll is the contents of the form).

It works perfectly for updates to the FM pro 5.5. database. However, how can i detect an error (eg if the database isnt open on the remote server.)

I have tried the following but it doesnt work:

--------------------------------------------------------------

strAll = "http://10.32.52.75:591/FMPRO?-db=blah blah, etc

Set ContentXML = Server.CreateObject("Microsoft.XMLDOM")

ContentXML.validateOnParse=True

If ContentXML.load((strAll)) then

response.redirect "thanks.htm"

else

response.redirect "failed.htm"

end if

--------------------------------------------------------------

MAny thanks for any ideas

Neil.

[ December 17, 2001: Message edited by: neilvk ]

Are you using '-error=...' in your URL (strAll)?

Garry

  • Author

Hi Garry,

No i dont have that in my url. only the fieldnames and values.

Could that be used ?

Thanks

Neil.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.