adspace


How to create Data Link File with Windows 2000?

Answer Posted / Virendra Kumar Singh

Creating a Data Link File (DLF) in Windows 2000 using Delphi is not directly supported. However, you can use ODBC to connect to a database and then export the data into a DLF file.nnHere's an example of how to create a connection string for an ODBC dataset in Delphi:nn```delphinODBCConnectio
1.Params.Add('DRIVER'); ODBCConnectio
1.Params.Values['DRIVER'] := 'Microsoft Text Driver (*.txt; *.csv)'; ODBCConnectio
1.Params.Add('FILEDS'); ODBCConnectio
1.Params.Values['FILEDS'] := 'Field1 Field2 Field3 ...'; ODBCConnectio
1.Open;n```nReplace `Field1 Field2 Field3 ...` with the names of your database fields.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Print in Delphi without using the TPrinter Unit ?

1917


How to Create resource files?

1661


How to Determine the last access time of a given file ?

1846


How to Retrieving the program that is associated with a given extension?

1714


How to Retrieve the line number that a memo's cursor is on?

2019


How to Save a QuickReport custom preview to text?

3401


How to Get the time and date in Universal Time ?

1769


How to Change the default width/height of the editor?

1925


How can one prevent a TForm from being moved or resized?

1784


How to Change the owner of a component at runtime ?

1935


How to Remove drives listed in a TDriveComboBox ?

1952


How to Flush binary file from disk cache to disk ?

2058