table Corn IN "ODBC" "FarmerDataDet.xlsb": C <- [C], PlantingCost, SalePrice, MaxAtGoodPrice, LowSalePrice, PurchasePrice, MinReq;
read table Corn;
table Corn IN 'tableproxy' 'odbc' ('FarmerDataDet.xls'): C <- [C], PlantingCost, SalePrice, MaxAtGoodPrice, LowSalePrice, PurchasePrice, MinReq;
read table Corn;
The error message is:
Error at _cmdno 6 executing "read_table" command
(file ./FarmerExcelDet.run, line 14, offset 673):
Error reading table Corn:
no acceptable table handler found.
I've tried other syntactical modifications with no luck. Any advice?
Thanks.
-Wen
My System:
Mac OS X 10.9: 64-bit Operating System
2.8 GHz Intel Core i7: 64-bit Processor
AMPL: 64-Bit for Mac OS X
Excel 2011 for Mac (Latest Available Version): 32-Bit
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Victor,
Thanks again for your reply. I investigated the options you provided to me, but it doesn't look like they will work. However, before I jump to conclusions, I'd like to share my understanding with you in the event that I am missing something.
First, I must connect to an Excel spreadsheet and not another data source.
Secondly, I am no computer expert, but my understanding of an ODBC connector is that it is specific to not only platform (e.g. Mac OS X), but also application (e.g. Excel). Therefore, I need to find an ODBC connector for Mac OS X for Excel (on a Mac).
Visiting OpenLink Software's site, I could not find any suitable ODBC drivers for Excel on Mac OS X: http://uda.openlinksw.com/
Visting the Actual Technologies site, I DID find what appears to be support for ODBC drivers for Excel on Mac OS X, but I must purchase a license: http://www.actualtech.com/download.php
So, the questions I would like confirmation with are:
1. I need an ODBC that is specific to Mac and Excel for Mac? (Yes/No)
2. As far as you know, there are no freely available ODBC connectors for Mac and Excel for Mac? (Yes/No).
Again, thanks for your response and for your leads.
Best,
-Wen
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ampl/8sne3XHNUlw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ampl+uns...@googlegroups.com.