Jump to content

how to detect FM Pro error (vbscript)


neilvk
 Share

This topic is 7246 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 ]

Link to comment
Share on other sites

This topic is 7246 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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