![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Mon, Sep 29 2008 11:58 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Anyone tell me what's wrong with this? I keep getting ElevateDB Error #700 An error was found in the script at line 119 and column 1 (Missing IF)
IF Mode = 'Callbacks' THEN SET Creator = Creator + ' _fkUsers = '+ CAST(UserID AS VARCHAR) + '_CallBack'; ELSE IF Mode = 'Alarms' THEN SET Creator = Creator + ' _fkUsers = '+ CAST(UserID AS VARCHAR) + ' _HideAlarm IS NOT NULL'; /* ELSE SET Creator = Creator + '_fkProjects = '+ CAST(ProjectID AS VARCHAR); SET Creator = Creator + ' AND '; SET Creator = Creator + ' (_HideSet = FALSE OR _HideAlarm IS NULL OR _HideAlarm <= CURRENT_DATE)'; SET Creator = Creator + ' AND '; SET Creator = Creator + ' (C._Name IS NOT NULL OR W._Surname IS NOT NULL)'; */ END IF; Roy Lambert |
Mon, Sep 29 2008 1:28 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< Anyone tell me what's wrong with this? I keep getting ElevateDB Error #700 An error was found in the script at line 119 and column 1 (Missing IF) >> The SQL manual has a documentation error - the syntax is ELSEIF (all one word) instead of ELSE IF. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Sep 29 2008 1:53 PM | Permanent Link |
Roy Lambert NLH Associates ![]() | Tim
>The SQL manual has a documentation error - the syntax is ELSEIF (all one >word) instead of ELSE IF. That could explain it ![]() Roy Lambert |
This web page was last updated on Friday, July 11, 2025 at 10:48 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |