Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
Whats wrong with the Query |
Fri, Jul 20 2012 5:46 AM | Permanent Link |
Hershcu Sorin | Hello
I've a query on my application that using the debbuger and the evalute/modify windows looks: 'WHERE COALESCE(EMail,'')<>'' '#$D#$A#$D#$A'ORDER BY Moed'#$D#$A On the the edbmanager, after I remove the machine symbols, runs fine but during the runtime it's raise the error: #700 ...(Expected ) but instead found ORDER)'. What I'm missing or how can I find the error? Thanks in advance Sorin |
Fri, Jul 20 2012 5:51 AM | Permanent Link |
Hershcu Sorin | More information. The code in the application is:
Query.Sql.Add('WHERE COALESCE(' +FieldName+ ','')<>'' '); > I've a query on my application that using the debbuger and the > evalute/modify windows looks: > > 'WHERE COALESCE(EMail,'')<>'' '#$D#$A#$D#$A'ORDER BY Moed'#$D#$A > > On the the edbmanager, after I remove the machine symbols, runs fine > but during the runtime it's raise the error: > #700 ...(Expected ) but instead found ORDER)'. > > What I'm missing or how can I find the error? > > Thanks in advance > Sorin > |
Fri, Jul 20 2012 8:47 AM | Permanent Link |
Uli Becker | Am 20.07.2012 11:51, schrieb Sorin H:
> Query.Sql.Add('WHERE COALESCE(' +FieldName+ ','')<>'' '); The problem are missing quotes. Try this: Query.Sql.Add('WHERE COALESCE(' + FieldName + ','''') <> '''''); Uli |
This web page was last updated on Saturday, April 27, 2024 at 08:52 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |