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

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

Recommended Posts

Posted

this query should select from the table only  the records of the group set by the variable $PrivGroup, the query work fine without the red part, please were i am wrong?

 

 

Var   $dyn_sql :

 

--------------------------------

"SELECT " &
$dyn_sql & ", '" & $$record_delimiter & "'" &
" FROM "" & $sync_table & """ &
" WHERE "
&
" ( ES_PrivGroup =  ""  & $Privgroup   & ""  ) "
&
" AND
( COALESCE ( ES_Exclude, 0 ) = 0 ) ) "

&
If ( ( $$sync_method = "Merge" ) and ( $last_pull_utc > 0 );  

"AND ( ES_UTC_Time > " & $last_pull_utc & " ) "
&
"AND ( COALESCE ( ES_Device_ID, 'X' ) <> '" & $client_persistent_id
&
"') "

; "" )

--------------------------------

the red part is my add, i get the error code 106.

Please tell me were i am wrong?

This topic is 3749 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.