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.

DataDirect Internal Error -1 ...?????

Featured Replies

I'm trying to run a simple SQL update via ODBC and I'm getting the following error:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)

[DataDirect][ODBC SequeLink driver][ODBC Socket][DataDirect][ODBC FileMaker driver][FileMaker] (-1)

What does this mean?

The SQL it's using at the moment is:

UPDATE Auctions Set Notes = Notes + ' 10/10/2006 - 2:02:01 PM - Drew Angell: Successfully filed NPB.', Auction_DisputeID = '342343', Auction_Status = 'Loser', Non_Paying_Bidder = 'Yes', Date_NPB_Filed = '10/10/2006' WHERE Auction_ID = '221267'

I've also tried removing the single quotes from around the number fields:

UPDATE Auctions Set Notes = Notes + ' 10/10/2006 - 2:02:01 PM - Drew Angell: Successfully filed NPB.', Auction_DisputeID = 342343, Auction_Status = 'Loser', Non_Paying_Bidder = 'Yes', Date_NPB_Filed = '10/10/2006' WHERE Auction_ID = 221267

with the same result.

Any information on what's going on here would be greatly appreciated. Thanks!

  • Author

Ok I just took everything and added 1 field at a time to the update until I found the problem. It's the updating of the date field.

I don't see why that's not working, though. The field in FileMaker has a datatype of Date and I'm trying to put 10/10/2006 in there. Why is this drawing an error?

  • Author

Hmmm...ok, it seems to not like the date being submitted as a text value with the single quotes around it. I remove those and then the update does work, however, it goes into the SQL like 10/10/2006. So the SQL actually runs 10 divided by 10 divided by 2006 and puts a crazy decimal in the Date field. Which seems weird to me since the field has a data type of date...why does even accept that value?

  • Author

Ok, well sorry for the bogus thread. I just realized SQL has it's own DATE() function and that seems to solve the problem.

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.