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 : How do you add a new Item using VB6 and QODBCSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 How do you add a new Item using VB6 and QODBC 
 Author   Message 
  Jack Nichols 
  
 Group: Members 
 Posts: 14 
 Joined: 2006-06-01 
 Profile
 Posted : 2006-06-01 04:12:10

How do you add a new Item using VB6 and QODBC. When I try to add a record to the Item table I get "Error Add not supported on this table in BuildXMLHeader" from the log file

 

Any Ideas?

 

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

The ITEM table is a READ ONLY table that's a combined list of all Item tables in QuickBooks:

  • ItemInventory,
  • ItemNonInventory,
  • ItemOtherCharge,
  • ItemInventoryAssembly,
  • ItemService,
  • ItemFixedAsset,
  • ItemGroup;

with minimum common fields.

When creating new items, the insert needs to be made to the ItemInventory, ItemNonInventory, ItemOtherCharge, ItemInventoryAssembly, ItemService, ItemFixedAsset, or ItemGroup table as applicable. It must also be a unquie new ITEM FullName!

To see the item fullnames, you can run the following query in VB Demo:

SELECT ListID, FullName, Description, Type FROM Item

 

  Top 
  marryinggirls 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-01-27 
 Profile
 Posted : 2008-01-29 11:17:00

Could you give us a SQL statement solution?since it is too complicated for us to know how to do.

 

Thanks!

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-29 18:31:04

See:

How do I add a Inventory Item using QODBC? 
How do I insert data into ItemNonInventory? 
How do I insert data into ItemOtherCharge table? How do I create a Other Charge item? 
How do I create a Item Assembly (ItemInventoryAssembly)? 
How do I insert data into ItemService? 
How do I create Item Groups(ItemGroup)? 

and: Can I get some examples of how to use QODBC via Visual Basic? 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to