XE6+FIREDAC connecting Sybase

Source: Internet
Author: User
Tags sybase

First, Win7 X64 System installation Sybase ODBC:

1, Download the corresponding package to C:\system_odbc ( folder name itself, in the following registry content needs to use ), and then need to add the directory to the PATH environment variable ;

2. Write the value information to the registry:

WindowsRegistry Editor Version 5.00

[Hkey_local_machine\software\wow6432node\odbc\odbcinst. Ini\odbcdrivers]

"Sybasease ODBC Driver" = "Installed"

[Hkey_local_machine\software\wow6432node\odbc\odbcinst. Ini\sybasease ODBC Driver]

"Altdefaults" = "1"

"APILevel" = "1"

"Connectionfunctions" = "YYY"

"CPTimeout" = "60"

"DriverODBCVer" = "04.10"

"FileUsage" = "0"

"SQLLevel" = "0"

"Driver" = "c:\\sybase_odbc\\syodase." DLL "

"Setup" = "c:\\sybase_odbc\\syodases." DLL "

3, Enter the c:\windows\SysWOW64\ , find odbcad32.exe execution, such as


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/2B/C6/wKioL1OK8A6CREk7AAHLjmwLJVQ248.jpg "style=" float: none; "title=" 1.png "alt=" Wkiol1ok8a6crek7aahljmwljvq248.jpg "/>

To create a new user DSN, fill in the following:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/2B/C6/wKiom1OK8DqSITZFAAE2NNCJghM068.jpg "title=" 2.png " Style= "Float:none;" alt= "wkiom1ok8dqsitzfaae2nncjghm068.jpg"/>,test connect successfully, which means the installation was successful.

Second, the next use of Delphi XE6+FIREDAC to connect it:

Put in several controls that you need to use:

{ create a new VCL Forms application, and then add the following controls ( We recommend pressing Ctrl +. ) after adding with keyboard input ):}

tfdphysmysqldriverlink // Used to drive automatic connection ; Each database corresponds to a : Tfdphys****driverlink

tfdguixwaitcursor       // for automatic management of GUI program " "; in Console FMX

tfdconnection // Data Connection

Tfdquery // data Query

Tdatasource // Data Source

TDBGrid // Data Display

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/2B/C6/wKioL1OK8A3wVQdPAAPvxrwCnjY413.jpg "title=" 3.png " Style= "White-space:normal;float:none;" alt= "wkiol1ok8a3wvqdpaapvxrwcnjy413.jpg"/>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.