 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Martin Casatti Guest
|
Posted: Thu Jun 26, 2003 10:06 pm Post subject: Re: Field? |
|
|
Viatcheslav V. Vassiliev wrote:
| Quote: |
VarChar(255)
This field size is small for file paths. Try 512, 1024 characters or a text (unlimited) field. |
|
|
| Back to top |
|
 |
Dar韔 Alejandro Guzik Guest
|
Posted: Mon Feb 27, 2006 8:03 pm Post subject: Re: best way to connect to SQLServer from BCB5 |
|
|
Thanks!
I'll look into that. I do have ADOExpress, but last time I tried to
migrate a BDE application to ADO it was very painfull and I gave up.
Perhaps this time I'll analyze better how to do it
Viatcheslav V. Vassiliev wrote:
| Quote: | If you have BCB5 Enterprise, there are ADOExpress components. OLEDB/ADO is
native way to connect MS SQL Server. If you have no ADOExpress in your BCB
version, look for third-party ADO or OLEDB components.
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Dar韔 Alejandro Guzik" <dguzik (AT) dc (DOT) uba.ar> ???????/???????? ? ????????
?????????: news:43e25e0b$1 (AT) newsgroups (DOT) borland.com...
Hi!
We are working on an application that connects to a SQL Server through BDE
+ ODBC.
The connection fails now and again, and the administrator told me that
ODBC connections are like that.
Is that true? What alternatives do I have?
--
Dar韔 Alejandro Guzik (El T韔 Borracho)
http://tioborracho.tripod.com
e-mail: daguzik (AT) dc (DOT) uba.ar
ICQ : 8389493
|
--
Dar韔 Alejandro Guzik (El T韔 Borracho)
http://tioborracho.tripod.com
e-mail: daguzik (AT) dc (DOT) uba.ar
ICQ : 8389493 |
|
| Back to top |
|
 |
Dar韔 Alejandro Guzik Guest
|
Posted: Mon Feb 27, 2006 8:03 pm Post subject: Re: best way to connect to SQLServer from BCB5 |
|
|
Arnie wrote:
| Quote: | "Dar韔 Alejandro Guzik" <dguzik (AT) dc (DOT) uba.ar> wrote in message
news:43e25e0b$1 (AT) newsgroups (DOT) borland.com...
Hi!
We are working on an application that connects to a SQL Server
through BDE + ODBC.
The connection fails now and again, and the administrator told
me that ODBC connections are like that.
Is that true? What alternatives do I have?
--
Dar韔 Alejandro Guzik (El T韔 Borracho)
http://tioborracho.tripod.com
e-mail: daguzik (AT) dc (DOT) uba.ar
ICQ : 8389493
No, ODBC connections are not "like that". They're no better or
worse than anything else. If you're working over a WAN or VPN,
connections will drop from time to time. That's just the way it
works. Other than that, VVV gave some decent suggestions. For
what it's worth, I'd ditch the BDE (which I did 4 years ago) and
go with something a bit more modern - and supported. The BDE is
dead.
- Arnie
Thanks. We also wanted to give up on BDE but had no time to analyze |
options. Beside the one that VVV metioned, do you have any o\ther
suggestions?
--
Dar韔 Alejandro Guzik (El T韔 Borracho)
http://tioborracho.tripod.com
e-mail: daguzik (AT) dc (DOT) uba.ar
ICQ : 8389493 |
|
| Back to top |
|
 |
tanlijun Guest
|
Posted: Mon Apr 17, 2006 1:54 pm Post subject: Re: Database Login Problem |
|
|
set adoconnection component ' property 'loginPrompt' to false
"Cenk" <cenk1536 (AT) yahoo (DOT) com> 写入消息新闻:43a72383 (AT) newsgroups (DOT) borland.com...
| Quote: | i m using BCB 5. i have 2 databases, one for writing and the other for
reading datas.Anyways, here is the way i connect to the dbs and retrieve
datas :
TQuery *FirstQuery;
FirstQuery= new TQuery (this);
FirstQuery->DatabaseName = "TEMP";
FirstQuery->SQL->Add ("select [CLOSE],[HIGH],[LOW] from TABLE");
FirstQuery->Open ();
i m not using Ttable or TDatabase, just similar codes above!
Everytime , i do BD operations like getting data or writing data, a
"DATABASE LOGIN" popup window appears.How can i get rid of this window?
Even
i do NOT set "User Name" or "Password" , it still pops up. At last, i put
2
TDatabase objects because somebody says so, and i double clicked on them
and
unchecked "Login Prompt" option but it STILL the same pop up appears! Its
so
annoying please help me.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|