Εμφάνιση αναρτήσεων με ετικέτα Database. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα Database. Εμφάνιση όλων των αναρτήσεων

Σάββατο 17 Αυγούστου 2013

MsAccess administration from Delphi

A very usefull unit with ms access administration function like compact, get views etc using DAO....
I hope you find it usefull....

Παρασκευή 11 Μαΐου 2012

Master-detail relationships ADO and Delphi

Using two TTable or TQuery descendats to create master-detail database entry forms.

Get the line number of a selected row in a DBGrid

If you want to get the line number of a selected row in a DBGrid component, here's what to do... Note: just substitute the Table1 component for whatever dataset you are using to provide data to your DBGrid. ~~~~~~~~~~~~~~~~~~~~~~~~~
ShowMessage(IntToStr(Table1.RecNo)) ;
~~~~~~~~~~~~~~~~~~~~~~~~~

Prevent CTRL+DELETE in DBGrid

If you need to disable keyboard delete operation inside a DBGrid you'll need to disable the CTRL+DELETE key press.

How to Display Only Selected Fields in the DbGrid Component

See how use the Fields Editor to define a list of some of the fields in a table that are to be displayed in the Grid. Even more: see how to specify the field order. 

How to Create a Simple Database Display Form

General instructions for setting up a Table, DataSource and DbGrid component at design time in order to access the data encapsulated by a table component. 

Παρασκευή 2 Μαρτίου 2012

Create tables on MS SQL Server 2000


Learn how to Create Tables on MSSQL Server 2000 using Delphi.

Recover the ID of the last inserted row in a table (ADO)

Learn how to recover the ID of the last inserted row in a MSSQL Server Table 

Use ADO to connect to an Access Database and write a BlobStream value


Edit an inplace TMemo inside a TDBGrid


Multi select rows in a DBGrid using Shift (select as in the IE)


Load a jpeg file into a blob field using SQL

Convert a Query into a Table


Create Tables Detail/Master in Sql Server 2000 With Code


Get List of Tables in Sql Server 2000


Get List of Database in Sql Server 2000



Get List of active users in Sql Server 2000


Add a user into a database in Sql Server 2000


Delete a user's Login In Sql Server 2000


Connect To Sql Server 2000