dbTalk Databases Forums  

ODBC: Howto access container fields?

comp.databases.filemaker comp.databases.filemaker


Discuss ODBC: Howto access container fields? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex Glass
 
Posts: n/a

Default ODBC: Howto access container fields? - 08-10-2005 , 06:14 PM






Is there anyone who can explain why when using ODBC to connect to FMP7, a
container field that I try to access is returns a VARCHAR type column with
the following data "?" for every row? I expected that it should return a
VARBINARY type column instead. The name of the driver I am using is the
"DataDirect SequeLink for ODBC 5.4". Any insight would be greatly
appreciated.

Regards,
Alex



Reply With Quote
  #2  
Old   
Andy
 
Posts: n/a

Default Re: ODBC: Howto access container fields? - 08-11-2005 , 12:12 PM






Hi Alex,

Look for a PDF on filemakers site called fm7_odbc_jdbc_developer.pdf.
That will include alot of good info on FM ODBC.

Are you querying using something like MS Query, or another similar
tool, or are you using something like ADO or ADO.Net? If its a query
tool, it probably just won't display the binary data (Sql Server's
Enterprise manager displays <Long Binary data> in place of the actual
binary data, for example).

I'm not on 7 yet, but FM6 container fields were read only, if you are
planning on updating them via ODBC.

Andy


Reply With Quote
  #3  
Old   
Alex Glass
 
Posts: n/a

Default Re: ODBC: Howto access container fields? - 08-12-2005 , 06:02 PM



Im using ODBC from the .NET framework. Thanks for the info maybe the PDF
will clear things up

"Andy" <ajohnstone (AT) capcitypress (DOT) com> wrote

Quote:
Hi Alex,

Look for a PDF on filemakers site called fm7_odbc_jdbc_developer.pdf.
That will include alot of good info on FM ODBC.

Are you querying using something like MS Query, or another similar
tool, or are you using something like ADO or ADO.Net? If its a query
tool, it probably just won't display the binary data (Sql Server's
Enterprise manager displays <Long Binary data> in place of the actual
binary data, for example).

I'm not on 7 yet, but FM6 container fields were read only, if you are
planning on updating them via ODBC.

Andy




Reply With Quote
  #4  
Old   
Andy
 
Posts: n/a

Default Re: ODBC: Howto access container fields? - 08-15-2005 , 08:57 AM



Alex,

I'm also using ODBC from the .Net framework.

Load the container field into a byte[ ] array field. At least, that
seems to work with FM6. ODBC and Filemaker don't seem to mix very
well, I'm having problems where FM doesn't return rows when it should,
and other times it tells me that a field I've selected doesn't exist
(and it does). The scary thing is that my program can process 100
rows, but 2 or 3 of them will have the 'field not found' error. All
100 rows use the same select clause..

Good luck, let me know if you need any more help.

Andy


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.