Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : Delphi5Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v8 Forum

 New Topic 
 
 Post Reply 
[1]  
 Delphi5 
 Author   Message 
  GUL 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-11-11 
 Profile
 Posted : 2007-11-11 06:51:41
Hi...
Can I use Delphi5 Enterprise and BDEAdmin v5.01 to connect (read and write) to QB Enterprise Solutions Wholesale and Manufacturing through the QODBC Server Edition v8 ?
Thank you.
GUL 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-11-12 07:34:14

Yes, a ODBC connection from Delphi is very similar to connecting using the BDE from Delphi.  Here is an example of connecting using the Tquery component. This example will also display the results of a sql statement.

Drop a Tquery, a Tdatasource, and a Tdbgrid component on a Delphi form.

Set the following properties for the Tquery component:
1) DatabaseName:  Pick "QuickBooks Data" from the list the data source names.
2) SQL:  Input the sql statement to be executed.  For example: "select * from Item".
3) Active: Set to True to connect.  And supply no user name and password on connection.

Set the following properties for the Tdatasource component:
1) Data Set:  Set to the name of the Tquery component, or "query1" in this case.

Set the following properties for the TDBGrid component:
1) Data Source:  Set to the name of the Tdatasource component, or "data source1" in this case.

Now you can see the returned results from the select statement in the dbgrid area.

See: I am using Delphi and am getting some column not found errors on long field names. Why? 
See Also: Ado Item Query returns EOF in Delphi when wrong Cursor type is used 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to