Fred
Sun Mar 16 13:53:33 CDT 2008
Thanks, I didn't even notice the fact that it was the dBase ODBC driver.
--
Fred
Microsoft Visual FoxPro MVP
"swdev2" <wsanders@dotnetconversions.bob.com> wrote in message
news:Oq3MsU5hIHA.4684@TK2MSFTNGP06.phx.gbl...
> Have you tried changing your driver ?
> The index for FP 2.6 tables is NOT dbase compliant.
> There's another FoxPro odbc driver you can use for
> foxpro 2.0 to 2.6 tables. It's old, it's outdated, but then
> it should fit into your dev environment (and no, that wasn't a dig on yer
> toolsets).
>
> There is also a sql window/query tool inside of dbf2000 - see
>
http://www.dbf2002.com for more info.
> If this query works with the dbf2002 set, then you're absolutely using the
> wrong ODBC driver
> for this project.
>
> Regards [Bill]
>
> --
> ===================
> William Sanders / EFG VFP / mySql / MS-SQL
> www.efgroup.net/vfpwebhosting
> www.terrafox.net www.viasqlserver.net
>
> "kflash" <kflash@discussions.microsoft.com> wrote in message
> news:2E1CC9A0-C464-4057-9DCF-67C81607483F@microsoft.com...
>> I'm using VB6 to connect to some foxpro 2.6 tables. I can connect to
>> the
>> tables and run simple queries using ADO. The following query works
>> fine:
>>
>> SELECT BMX.PNO, BMX.SUFFIX, BMX.QTY, BMX.COMPCPU, BMX.SUBBNO,
>> BM.BNO, BM.BNAME,
>> PROD.SPROD, PROD.PROD, PROD.DBTYPE,
>> CUST.CNO, CUST.CNAME
>> FROM PROD, CUST, BM, BMX
>> WHERE BM.BNO = BMX.BNO
>> AND PROD.PNO = BMX.PNO
>> AND CUST.CNO = BM.SCNO
>> ORDER BY PROD.SPROD
>>
>> But when I insert this line in the Query, I get this message:
>>
>> [Microsoft][ODBC dBase Driver] Index not found
>>
>> Line inserted:
>>
>> AND BMX.BNO = 199
>>
>> Does anyone have any idea what's going on and if there's a fix or
> work-around?
>>
>> Thanks,
>>
>> Keith
>>
>
>