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 : Where do the Vendor Custom Field Label Captions come from?Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 Where do the Vendor Custom Field Label Captions come from? 
 Author   Message 
  Absolute Retail 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-04-05 
 Profile
 Posted : 2006-04-06 08:27:48

How do you access the Custom Field Label captions for a vendor? Not the data in the Custom Fields, but the actual Custom Field Label name?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-04-06 08:57:16

Custom Fields are created within QuickBooks. The Label names can also be modified at any time also. In your example, when editing a Vendor, click on the Additional Info tabpage: 

Click on the [   Define Fields   ]  button and create and modify your Custom Fields as required:

In QODBC the Custom Field Label appears as: CustomFieldname (with the name of the custom field, without spaces, as shown in QuickBooks) as can be seen in VB Demo by running:

sp_columns Vendor

To determine the Custom Field names via programming, just do: 

Const adUseClient = 3
rs.CursorLocation = adUseClient

strSQL = "sp_tables"
'Open rs
rs.Open strSQL, cnConnection, adOpenStatic, adLockReadOnly

And loop through the recordset for each table:

then:

strSQL = "sp_Columns """ & sTableName & """"
'Open rs
rs.Open strSQL, cnConnection, adOpenStatic, adLockReadOnly

And spin through the columns for that table.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to