Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Signing onto MSSql 1998-04-29 -- Mike Pasley You can build the connectstring in the procedure setup of your first procedure like this
sysDBNAME=GETINI('ODBCDBNAME','ODBCDBNAME','demo','programname.INI')
sysname=GETINI('UserName','UserName','someuser','programname.INI')
syspassword=GETINI('pwd','pwd','somepassword','programname.INI')
connectstring=Clip(sysDBNAME)&','&Clip(sysName)&','&Clip(sysPassword)
Use getini or some other control method to remember the user or have a default user
and pasword. This way you can change the user and pwd if you want to. Put all fields
(sysDBNAME thru connectstring) in the global. Make sure connectstring is in the owner
name field of the DCT as !connectstring.
Today is April 19, 2024, 4:36 am This article has been viewed 35110 times.
|
|