A Forum reader asked the following question:
"Is there anyway to get NSL to save username and password credentials for different Microsoft Access databases? I have several access databases that have security enabled, and each database may have a different username and password. NSL stores the credentials for MSACCESS.EXE, but not for each individual database."
And here's a suggestion from Keith Runge ...
Yes, there is a way depending on how you are displaying the databases to the user. If you are using NAL, the database is opened via command-line syntax. Have NSL read the command line and define a separate SETPLAT per database. I often use INCLUDE scripts for applications such as EXCEL, IEXPLORE, JAVAW, and MSACCESS to help organize the code for better troubleshooting.
You might also be able to do the same thing by reading CTRL #0 (the titlebar) and script off the database name after that. I haven't tried this yet on MSAccess but it has worked great with JAVAW.EXE applets. Using regular expressions would help cut down on the number of Dialog/EndDialog statements you'll have to do.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.