How I can change my connection string in a existing form?

K

KssKumar2000

Hi,

While designing the form, I have not saved the required sql server
username/password with the form. So while using this form in the
enduser system, it popup the SQL server login dialog each time when we
submit the form. To avoid this, I have to save the valid
username/password along with the form.

How I can change my connection string in a existing fully designed
form?

Is any other solutions is there ?

Thanks & regards,
 
A

Andrej

Hi,

open your form in the design view.
go to your dataconnection dialog: tools - dataconnections
update your main connection. while updating your connection you can set the
checkbox for saving your password and user in your form.

the password and username are saved in cleartext!!! it is not save!!!!
all users will be connected through this one user you saved in your form.

if you are using sqlserver you can set the security settings for your user
in the sqlserver enterprise manager. i prefer the second way.

Andrej
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top