Solved

Delphi3 C/S Native Links and MSSQL

Posted on 1998-01-24
3
265 Views
Last Modified: 2010-04-04
Where can I find detailed info. on using Delphi3 C/S edition
with MSSQL? What Delphi and MSSQL pieces are required? On the NT server, do I need additional software or just MSSQL 6.5? The BDE help files on this topic are not very friendly....any info. would be greatly appreciated!!!!!!
0
Comment
Question by:gerhardl
  • 2
3 Comments
 

Accepted Solution

by:
rusb earned 50 total points
ID: 1357436
I suggest looking at a book called Special Edition Using Delphi 3 by Que. Also web sites like www.delphideli.com are real helpful.

To connect Delphi and SQL Server all you need is either Microsoft ODBC drivers or the MSSQL BDE driver.

The easiest one to start off with is the native MSSQL driver supplied with Delphi. You need to using the BDE Administrator to setup things now.

1. Start BDE Adminstrator and ensure that the Database tab is open (there are two the other one is called configuration).

2. In the object menu select the New menu item and then select the driver you want in the drop down combo box displayed (you want MSSQL).

3. You now need to name the new BDE database entry and fill out a few lines of detail (on the right of the split window).

4. The lines fill out are:

   DATABASE NAME:   <the name you called the database in SQL>
   SERVER NAME:     <the name you called your SQL server machine>
   USER NAME:       the ID of a user to log onto the database                     with. Try 'sa' to start of with.

All this assumes you've created the devices and database in SQL Server first.

Hope all this helps.


0
 

Author Comment

by:gerhardl
ID: 1357437
 Good answer, but it still does not tell me if any
  Microsoft pieces(clients, licenses) need to be purchased?
  Remember, we are using Delphi Client Server edition
  with the BDE Native Links......
0
 

Expert Comment

by:rusb
ID: 1357438
As long as you have bought enough SQL Server licenses for each
station that will be logging on (ie. running you applications) you should be fine.

SQL Server is just a backend database (well not just!) and all the client side is written by you.

You don't have to send any royalties or get licenses for applications written in Delphi.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question