I am having trouble keeping the SQL Server database open.
I open the session and database in my startup script, which opens my main navigation form.
When I move to a data entry form with SQL Server data in the data model the database information box pops up waiting for input before continuing to open the form.
Is there any way to keep the database connection open until I exit the application.
Startup script
ses.open()
dynAlias["Database"] = "ISAS"
dynAlias["User Name"] = GetNetUserName()
dynAlias["Password"] =""
if not dbSQL.open(":INACDATA:", ses, dynAlias) then
MsgStop("Login Error", "User not registered for ISAS Database"
endIf
Thank you.
Glenn
I open the session and database in my startup script, which opens my main navigation form.
When I move to a data entry form with SQL Server data in the data model the database information box pops up waiting for input before continuing to open the form.
Is there any way to keep the database connection open until I exit the application.
Startup script
ses.open()
dynAlias["Database"] = "ISAS"
dynAlias["User Name"] = GetNetUserName()
dynAlias["Password"] =""
if not dbSQL.open(":INACDATA:", ses, dynAlias) then
MsgStop("Login Error", "User not registered for ISAS Database"
endIf
Thank you.
Glenn