neilvk Posted December 17, 2001 Posted December 17, 2001 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 ]
Garry Claridge Posted December 17, 2001 Posted December 17, 2001 Are you using '-error=...' in your URL (strAll)? Garry
neilvk Posted December 17, 2001 Author Posted December 17, 2001 Hi Garry, No i dont have that in my url. only the fieldnames and values. Could that be used ? Thanks Neil.
Recommended Posts
This topic is 8369 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 accountSign in
Already have an account? Sign in here.
Sign In Now