Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7144 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I can't figure the structure/syntax my SQL statement should have...

When i use the ODBC import... my fields are enclosed in `field` sometimes

they are like this: `tblName.fieldName` ...

If i want to update an access 2000 tbl with data from fileMaker

how would I write that??? UPDATE tbl SET fields etc..

with commas or semicolons? with ` or ' or " ??

thanks

Posted

I'm not sure that this is directly applicable but maybe it will be useful as a start. I have had success passing a string of the following form to FileMaker (not Access) via ODBC to cause an update of the Clients table.

"UPDATE Clients SET `flag_qb_modified` = 0 WHERE `client_id_number` = 523"

Note the outer double-quotation marks are not part of the string, they are just part of how the string is represented in the source code file. But the inner back-ticks around field names are in the string.

Posted

YEAH!!! found a syntax that works!!

"UPDATE tblTempInbox SET DispoStatus = '" &Trim (IncomingNouveauMail::t_StatutDispo) & "' WHERE MemberID = '" & Trim(IncomingNouveauMail::t_MembreID) &"'"

I had to use the trim function...for some reason i kept getting a leading space in all my fields so nothing would match & update!

This topic is 7144 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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