logo       

Re: Table doesn't have attribute: msg#00396

Subject: Re: Table doesn't have attribute
Hugues Demers writes:
 > Hum, it answered no.

Not even a warning?  Hmmm.  If it's doing what I think it should be
doing, then that would mean that no odbc_import has been successfully
done. But I would have thought that with your:

:- odbc_open('MySource_Name','Username','Password').
:- odbc_import('DB.TABLENAME'('attribute_1', 'attribute_2'), tablename).

there would have been some complaint, of either the odbc_open not
completing or the odbc_import not completing.

Maybe you can give us exactly what the entire program is, and exactly
what you entered and what it responded.  

(I would eliminate the :- auto_table. command.  That is a little
suspicious with the ODBC interface, but should be OK, I would
think...)

-David

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


<Prev in Thread] Current Thread [Next in Thread>