473,414 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Saving the odbc connect string - tag or table?

I have a fairly static odbc connect string that should be visible in a text
box on a form for reference purposes. It seems excessive to me to keep a
table with 1 field and 1 record to record this string. Is it advisable to use
a tag instead? I'm thinking of keeping the string in the textbox's tag, and
providing a cmd button to change the value in the tag and updating the
textbox value, on those rare occasions when it might be required.

Thanks,

--
Bill Reed

"If you can't laugh at yourself, laugh at somebody else"

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200711/1

Nov 19 '07 #1
1 1455
On Nov 19, 8:54 am, "ragtopcaddy via AccessMonster.com" <u9289@uwe>
wrote:
I have a fairly static odbc connect string that should be visible in a text
box on a form for reference purposes. It seems excessive to me to keep a
table with 1 field and 1 record to record this string. Is it advisable to use
a tag instead? I'm thinking of keeping the string in the textbox's tag, and
providing a cmd button to change the value in the tag and updating the
textbox value, on those rare occasions when it might be required.

Thanks,

--
Bill Reed

"If you can't laugh at yourself, laugh at somebody else"

Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/2007...
One thing you could do is store the value in an .ini file. When you
retrieve the value, store it in a public variable.
Nov 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ragtimer | last post by:
I've been trying to build a DAO.QueryDef.Connect string, building it from a user ID and password string obtained previously by a log-in dialog box, using it to log in to an Oracle database through...
5
by: Steven C | last post by:
Hello! I am trying to connect to a SQL Server (MSDE) database in mixed mode authentication, via C#, but when I use the MSDE instance name, I keep getting an "Unrecognized Escape Sequence"...
1
by: cfyam | last post by:
How can set the SQL connect string , when I connect to SQL Server via TCP/IP? What else I need to do?
3
by: asemeiks | last post by:
I'm using Access 97, Jet 4.0. the data resides on a Win 2000 domain server. Using .Net 1.1 and IIS 5.0 on a local XPPro computer I am trying connect to a Jet database on the server. If the data...
2
by: Fred | last post by:
I am trying to write an app in vfp 8.0 using cursoradapters connecting to an as400 db2 database. My goal is to set up a test data library (called FRED) on the iseries identical to the production...
3
by: ayyappa | last post by:
Hi All, I am working on Informatica Designer using MS Access. Here, i have successfully accessed the data thru ODBC connection. After creating session in Workflow Manager in Informatica, it has...
3
by: bluethunder | last post by:
Good morning guys, I have a problem regarding the usage of the command button in VB 6. I dont know what codes what i will gonna use. How will i gonna call the records from the table using command...
0
by: ragtopcaddy via AccessMonster.com | last post by:
Using a user dsn with Sybase 11 driver, I created a pass through query. When I run it, I get the following error msg: "Incorrect syntax near ';' (#102)" Here's the sql: "SELECT AccountId...
15
Zwoker
by: Zwoker | last post by:
Hi all, I am accessing data from an Oracle database via a connect string. I got into the situation where I wanted to write my SQL select statement to do a join between a local table sitting in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.