dbTalk Databases Forums  

FM 6 Odbc Bug?

comp.databases.filemaker comp.databases.filemaker


Discuss FM 6 Odbc Bug? in the comp.databases.filemaker forum.



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

Default FM 6 Odbc Bug? - 08-02-2005 , 02:48 PM






Hi all,

When running this sql against an FM 6 database, the application
performing the query just exits. No error codes or anything. It
doesn't matter if its my .Net application or Microsofts query tool.
Any ideas?

Select *
from Table
where Col1 = 'Value A' OR Col1 = 'Value B'

It supports the AND in the where clause, but not OR??

Thanks
Andy


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

Default Re: FM 6 Odbc Bug? - 08-02-2005 , 02:51 PM






Found the solution..

You have to wrap each part of the OR in parans...like so

SELECT *
FROM TABLE
WHERE ( ID = 235 ) OR ( ID = 234 )

Otherwise the driver will crash (bleck).

andy


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

Default Re: FM 6 Odbc Bug? - 08-02-2005 , 03:01 PM



Actually that didn't fix it.. well it did in MS Query, but not my
application. Huh?


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.