Ashfaque
Search Beautiful Girls from your town for night
- Local time
- Today, 21:55
- Joined
- Sep 6, 2004
- Messages
- 897
Hi,
My following code line connects to SQL Server from Access db.
For some security reason IP address changes every week and I have to update in this module. So what I did is, I placed additional text box at login form and from there new ID address is being saved in a local table called T_IP.
I want the IP address mentioned in table T_IP should read in the above stConnect code line when each time user logins remotely. This way I could save a lot of my time in manually changing the ID address in DSN module code should execute connection.
Can someone guide me how to to do it?
Any help shall be appreciated.
Regards,
My following code line connects to SQL Server from Access db.
Code:
stConnect = "ODBC;DRIVER=SQL Server;SERVER=182.128.1.7;DATABASE=INATHR;UID=hr;PWD=mypwd"
For some security reason IP address changes every week and I have to update in this module. So what I did is, I placed additional text box at login form and from there new ID address is being saved in a local table called T_IP.
I want the IP address mentioned in table T_IP should read in the above stConnect code line when each time user logins remotely. This way I could save a lot of my time in manually changing the ID address in DSN module code should execute connection.
Can someone guide me how to to do it?
Any help shall be appreciated.
Regards,