[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 650
  • Last Modified:

Peachtree Quantum 2010 and Access 2000 ODBC error on linking LineItem table

I am using Access 2000 to link to Peachtree Quantum 2010 GL tables.  I can link to every table BUT the LineItem (detail transactions) table.  I get the error "too many indexes".  

I find similar questions posed on different forums, but no solution.  One comment I noticed was that it was the publisher of the pervasive database and not Peachtree that created the problem.  Another said that Access can only handle 32 indexes versus the 33 on the LineItem table.

Anybody have a similar problem and a solution?

Thanks,
Tom Helton
0
thelton_us
Asked:
thelton_us
1 Solution
 
mirtheilCommented:
If Access is limited to 32 indexes, which it is according to http://office.microsoft.com/en-us/access-help/access-2007-specifications-HA010030739.aspx, then having 33 indexes would be beyond that and would return that error.  

Deleting indexes might cause Peachtree to break.  
0
 
mlmccCommented:
WHy did you include the Crystal Reports zone?

mlmcc
0
 
Bill BachPresidentCommented:
Use an ODBC Pass-through Query.  Create a new query, change to the SQL view, then select SQL-Specific/Pass-Through.  Use a simple query like "SELECT * FROM LineItem;" as your query.  This should be able to read the data just fine.  

You'll probably find that it prompts you for the database name every time.  To fix this, right-click on the query and select Properties.  In the ODBC connection string, add "DSN=dsnname;" where dsnname is the name of your OPDBC DSN to which you want to connect.
0
 
thelton_usAuthor Commented:
mlmcc - the ODBC client to connect to Peachtree uses the id and password for the Crystal Reports imbedded in the Peachtree software - figured there might be some connection

BillBach - we have a winner...except...I can't use the wildcard as it gives a error regarding too many columns.

I poked around and found a name of one the columns and it works perfectly.

Now my question - how can I get a list of all the column names?

Thanks,
Tom
0
 
Bill BachPresidentCommented:
You don't indicate the version of PSQL, but if it is v9.5 or above, then this should work:
   CALL psp_columns(,'LineItem',)

If that doesn't work, then you can access the data directly with a query like this:
   SELECT * FROM X$Field
   WHERE Xe$File IN (SELECT Xf$Id from X$File WHERE Xf$Name = 'LineItem')
   AND Xe$DataType < 227
   ORDER BY Xe$Offset

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now