Senin, 29 Juni 2015

RE: [MS_AccessPros] syntax help

 

You need to place a period between MaxRecord and TimeMatch in the following:

(wo_master_IM3_filter_PE.modify_timestamp=MaxRecord TimeMatch)

 

It should be: (wo_master_IM3_filter_PE.modify_timestamp=MaxRecord.TimeMatch)

 

 

 

Darrell

 

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Monday, June 29, 2015 11:29 AM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] syntax help

 

 

this query is coming back with a syntax error message it pops to the first FROM section and highlights the IM3 part.  Error message though say: Syntax error (missing operator) in query expression 'wo_master_IM3_filter_PE.modify_timestamp=MaxRecord TimeMatch'

 

SELECT  wo_master_IM3_filter_PE.*
FROM  wo_master_IM3_filter_PE INNER JOIN (SELECT person_id, MAX(modify_timestamp) AS TimeMatch FROM wo_master_IM3_filter_PE GROUP BY person.id) AS MaxRecord ON (wo_master_IM3_filter_PE.modify_timestamp=MaxRecord TimeMatch) AND wo_master_IM3_filter_PE.person_id = MaxRecord.person_id);

 

 

I just do not see what is wrong with it, I know it must be something simple that I am missing.

thank you for your help.

Patty


The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.

Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.

__._,_.___

Posted by: "Embrey, Darrell" <DEmbrey@bcbsm.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

.

__,_._,___

Tidak ada komentar:

Posting Komentar