Smart ECF

By | December 17, 2008

Question:

User have created fields table using fields.es file. In this es file user should give user name and password of database. Now, user always keep changing password of database for security purpose.

So how can user access fields table in such case? User don’t want to change es file.

Answer:

In regards to this query, you will need to do the following…

** Need to create two controls in the “.ECF” file as “User Name” (default the value to logged in User by using “eWare.GetContextInfo” method) and “Database Password” where you will need to take user’s input.

** Store the value in two variables (i.e. strUserName and strDatabasePassword).

**And then use those variables in the “.ES” file of yours (you can use those variables if you have declared the same in “.ECF” file).