Re: Saving as a RevLet
Posted: Wed Jul 25, 2012 6:26 pm
As mentioned, if the revopendatabase returns an integer you're connected, otherwise look for error messages.
for me this is the error returned: Not connected [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Which makes sense since I don't have the information to set up a dsn for your database. What is in the result for you?
There is always the fallback of using cfm scripts to grab your data and learn to deal with the output.
If you DO have the correct dsn setup to point to your remote database, does the remote db allow external connections? (if not, we're back to using cf to do the query through a web call) As for livecode server, yes there is one, works really well, but it sounds like you know cold fusion well enough to do what you want with it.
for me this is the error returned: Not connected [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Which makes sense since I don't have the information to set up a dsn for your database. What is in the result for you?
There is always the fallback of using cfm scripts to grab your data and learn to deal with the output.
If you DO have the correct dsn setup to point to your remote database, does the remote db allow external connections? (if not, we're back to using cf to do the query through a web call) As for livecode server, yes there is one, works really well, but it sounds like you know cold fusion well enough to do what you want with it.