Opening OI Database from Inet procedure (OpenInsight Specific)
At 02 JUL 2000 04:51:05PM David Mayes wrote:
I am trying to use input from a web user to select information from an OpenInsight database. The user inputs info which is passed to a custom Inet procedure which processes the info and returns it to a webpage. The problem is i cannot seem to get the database open in the Inet procedure. Is there a special procedure or command for this? Here is the code, more or less, as i have it now. It works from a standard OpenInsight Stored Procedure but not from the Inet procedure.
Open Table to tablevar then
read REC from tablevar, key then
num=REC
new_quote_no=num
end
end
At 02 JUL 2000 06:05PM Don Bakke wrote:
David,
Are you sure the database is attached? Either programmatically attach it or have it saved in the Database Manager. If you do this from another workstation other than your web server then make sure you logoff of OI first and go back in.
dbakke@srpcs.com
At 04 JUL 2000 12:22PM David Mayes wrote:
You were right. I had added the database from a workstation. Once i logged off OI at the web server and back on it worked perfectly. Thanks a million.