Hi, I designed a screen that imports data from Excel to create shippers by COM. The file that contains the information also includes a column with the Company. I am using the following structure to Login into SL:
sivtbCurrent.Login(bpes.DBServerSystem, bpes.DBNameSystem, bpes.CpnyID, bpes.UserId, "Password")
It works fine if I leave the password in the code (for example for SYSADMIN); but this is not practical, because the password has to be dynamic; the program has to pass the correct password of the user who is running the process. How can I send this parameter dynamically?. I tried sending the value PNULL, NOTHING, blanks, ect, and it doesn't work. In the UserRec table the passwords are encrypted, and I can't use them.
Thanks.
*This post is locked for comments