Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Weird SQL problems with Filemaker...???

Featured Replies

I've got a Filemaker file that stores auction information for eBay. One field I have in there is called Sandbox is has a Yes, No drop down menu where you can select Yes or No and it holds that value.

When I'm creating a recordset in my ASP scripts outside of FM, If I use the following:

SELECT Auction_Number, Auction_ID

FROM Auctions

WHERE Auction_Status = 'Current' AND Sandbox = 'Yes'

that works perfectly. It returns only the auction records where Sandbox has been set to Yes.

Now I'm trying to return only non-sandbox records, so I use the following:

SELECT Auction_Number, Auction_ID

FROM Auctions

WHERE Auction_Status = 'Current' AND Sandbox <> 'Yes'

and I get 0 records returned!? Any information on why this happens would be greatly appreciated. Thanks!

Are there records with "No" or are they null? If they are null use "... AND Sandbox is null"

If there are records with "No" how about trying "... AND Sandbox != 'Yes'".

wouldn't ... AND Sandbox = 'No'

be a lot simpler :)

  • 2 weeks later...
  • Author

No, becuase they don't equal No unless they were set to Yes and then back to No. that doesn't happen.

fmsavey's suggestion works great. thanks!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.