Dan-A Posted April 26, 2005 Posted April 26, 2005 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
SJM Posted April 28, 2005 Posted April 28, 2005 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.
Dan-A Posted May 1, 2005 Author Posted May 1, 2005 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now