If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Queries with Borland Builder 4.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-06, 09:38
pitopito pitopito is offline
Registered User
 
Join Date: Oct 2006
Posts: 1
Queries with Borland Builder 4.5

Hi,
My goal is to perform a single SQL query (“select xxx from yyyy etc etc”) to a Database over a LAN, using BORLAND C++ 4.5 and managing (runtime) USERNAME and PASSWORD.

I tried 2 methods :

Method N.1) I used “Tquery”, TdataSource and TDBedit components linked togheter and I succeeded but….I need to manage USERNAME and PASSWORD runtime so I’m trying the following method N.2

Method N.2) I’m using TdataBase Component. Although I can Open the DataBase I don’t know how to perform the SQL Query. Do I have to use the Tquery component? In which way? How can I refer the Tquery to the Tdatabase component?
I suppose I have to use the following components :
TDataBase, Tquery, TDataSource and a Data Control such as TDBedit...is it correct?
Can you give me a simple example?

Thank you a lot!
Reply With Quote
  #2 (permalink)  
Old 11-30-06, 09:23
lpapp_97 lpapp_97 is offline
Registered User
 
Join Date: Nov 2006
Posts: 34
exactly how do you mean manipulating the username and passwords?
Adding users to acces data ????

iff you are wanting to add users while you or enybody else is atached to a database or datatable you will not be succesful only on posting or an updating the database/table ,
__________________

Lehel
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On