Syntax Error message

can someone please check this simple SQL table creation command for me and advice why the system generates an error message everytime this is excuted in Oracle
CREATE TABLE PRODUCT (
P_CODE VARCHAR(10) NOT NULL UNIQUE,
P_DESCRIPT VARCHAR(35) NOT NULL,
P_INDATE DATE NOT NULL,
P_ONHAND SMALLINT NOT NULL,
P_MIN SMALLINT NOT NULL,
P_PRICE NUMBER(8,2) NOT NULL,
P_DISCOUNT NUMBER(5,2) NOT NULL,
V_CODE INTEGER,
PRIMARY KEY (P_CODE));
FOREIGN KEY (V_CODE) REFERENCES VENDOR
ON DELETE RESTRICT
ON UPDATE CASCADE);
The first thing it tells me is that there is a syntax error on line 1.

user10876303 wrote:
can someone please check this simple SQL table creation command for me and advice why the system generates an error message everytime this is excuted in Oracle
CREATE TABLE PRODUCT (
P_CODE VARCHAR(10) NOT NULL UNIQUE,
P_DESCRIPT VARCHAR(35) NOT NULL,
P_INDATE DATE NOT NULL,
P_ONHAND SMALLINT NOT NULL,
P_MIN SMALLINT NOT NULL,
P_PRICE NUMBER(8,2) NOT NULL,
P_DISCOUNT NUMBER(5,2) NOT NULL,
V_CODE INTEGER,
PRIMARY KEY (P_CODE));
FOREIGN KEY (V_CODE) REFERENCES VENDOR
ON DELETE RESTRICT
ON UPDATE CASCADE);
The first thing it tells me is that there is a syntax error on line 1.you have a closing parenthesis and a semi-colon after the primary key definition. The means it is trying to parse the foreign key clause a a new statement, hence the syntax error.
You don't say which tool you are using, but I can't get it to produce that particular error in SQLDeveloper.
Syntax error at line 1 usually implies something wrong in a PL/SQL block. How are you executing this?

Similar Messages

  • When I am on facebook I continually get a syntax error message which keeps coming back. I have checked my settings and enabled java script but doesnt help.

    I can access my facebook account with no trouble, but once facebook is loaded I repeatedly get an error message; syntax error. The words 'Java Script application' are in the bar across the top of the message. It comes up many times and completely disrupts what I am doing. I am wondering if ot has something to do with the adverts in the side bar of each page that I open in facebook. If I open FB from Google Chrome I don't get that problem, or in Explorer, but I would rather use Firefox. Help would be apprecitaed, please. Thanks.

    hello, first of all please [https://www.mozilla.org/firefox/update/ update firefox to the latest version]. the errors you're getting are likely coming from the socialfixer addon that you've installed - there's also an updated version of the extension available which fixes these kind of issues: http://socialfixer.com/blog/category/releasenotes/

  • Why am I getting syntax error messages when sending emails thru MS Office:MAC 2011?

    Why am I getting suntax error messages when sending emails thru my outlook on my MacPro?

    What are the exact and complete error messages?

  • Strange syntax error message with some functions!

    Hello!
    I have a strange trouble with some functions in Numbers.
    For example when I try an IF function directly copied and pasted from Numbers documentation I get an error from Numbers that “the formula contains a syntax error.
    *The function looks like this:*
    *=IF(E6>=0, “Nonnegative”,”Negative”)*
    *The value in cell E6 is 25.*
    Anyone have a clue about why?

    Hello
    If you enter my iDisk
    <http://idisk.mac.com/koenigyvan-Public?view=web>
    You will be able to download:
    suriWork:for_Numbers:pour_modifierNumbers.zip
    Which gives the ability to change the Numbers behavior (same thing for Pages and Keynote).
    Applying it you will get an "Insert functions" tool matching your local settings.
    It will insert functions using the semi-colon as parameters delimiter.
    Yvan KOENIG (from FRANCE samedi 24 mai 2008 15:38:41)

  • Syntax Error Messages - cannot recognize "bas" etc.

    what's the problem with this syntax ? we read this at the sap online helpdesk.
    1. the default logic
    2. the system constants file
    *INCLUDE SYSTEM_CONSTANTS.LGF
    *XDIM_MEMBERSET ACCDETAILDIM=BAS(FLOW_CLOSING_CALC)
    // Scope of what logic will be applied to for read or write, aka 'filter' in Int.Planning, if use 'bas' cannot select any others
    *XDIM_ADDMEMBERSET ACCDETAILDIM=FLOW_CLOSING,FLOW_ERROR
    // 'Closing' is not in 'Closing Calc' above so we 'add' it in here
    *XDIM_MEMBERSET INTCODIM=BAS(IC_TOT)
    *XDIM_ADDMEMBERSET INTCODIM=IC_ALL
    // Copies P&L Profit to Balance Sheet
    *WHEN ACCOUNTDIM.GROUP
        *IS "PL"
           *WHEN ACCDETAILDIM
           *IS "FLOW_CLOSING"
              *WHEN INTCODIM
              *IS "IC_ALL"
                  *REC(ACCOUNTDIM="ACC_PROFIT_BS",ACCDETAILDIM="FLOW_RESULT",INTCODIM="IC_ALL")
                  *REC(ACCOUNTDIM="ACC_PROFIT_BS",ACCDETAILDIM="FLOW_CLOSING",INTCODIM="IC_ALL")
               *ENDWHEN
            *ENDWHEN
    *ENDWHEN
    // For accounts with the L1_E property, if Closing is not equal to opening plus the changes, write it to the error flow
    [ACCDETAILDIM].[#F_ERR] =IIF([ACCOUNTDIM].CURRENTMEMBER.PROPERTIES("DIMLIST1")="L1_E",  [ACCDETAILDIM].[F_999] - [ACCDETAILDIM].[F_100] - [ACCDETAILDIM].[F_120] + [ACCDETAILDIM].[F_140],0)
    // For accounts with the L1_V property, if Closing is not equal to opening plus the changes, write it to the variation flow
    [ACCDETAILDIM].[#F_900] =IIF([ACCOUNTDIM].CURRENTMEMBER.PROPERTIES("DIMLIST1")="L1_V", [ACCDETAILDIM].[F_999] -  [ACCDETAILDIM].[F_100]- [ACCDETAILDIM].[F_120] + [ACCDETAILDIM].[F_140],0)
    *COMMIT
    System Constants syntax:
    // application constants
    *FUNCTION CATEGORYDIM=C_CATEGORY
    *FUNCTION TIMEDIM=TIME
    *FUNCTION CURRENCYDIM=RPTCURRENCY
    *FUNCTION ENTITYDIM=ENTITY
    *FUNCTION ACCOUNTDIM=C_ACCT
    *FUNCTION INTCODIM=INTCO
    *FUNCTION ACCDETAILDIM=FLOW
    *FUNCTION DATASRCDIM=C_DATASRC
    *FUNCTION GROUPDIM=CONSGROUP
    // For default logic
    *FUNCTION ACC_PROFIT_BS=25712000
    *FUNCTION IC_TOT=INP_INTERCO
    *FUNCTION IC_ALL=ALL_INTERCO
    *FUNCTION FLOW_CLOSING=F_999
    *FUNCTION FLOW_CLOSING_CALC=F_TOT
    *FUNCTION FLOW_VAR=F_900
    *FUNCTION FLOW_ERROR=F_ERR
    *FUNCTION FLOW_RESULT=F_RES
    *FUNCTION VALID_RUN_FLAG=VALRUN
    // This part is needed when a RATE cube
    // is associated to the application
    // (FX = single or multi currency)
    *FUNCTION THISAPP=LEGALAPP
    *FUNCTION RATEAPP=RATE
    *FUNCTION RATEENTITYDIM=R_ENTITY
    *FUNCTION RATEACCOUNTDIM=R_ACCT
    *FUNCTION INPUTCURRENCYDIM=INPUTCURRENCY
    *FUNCTION RATEENTITYMBR=GLOBAL
    *FUNCTION RATESRCCALCMBR=GLOBAL
    *FUNCTION AVGRATEID=AVG
    *FUNCTION ENDRATEID=END

    As far as my knowledge goes,
    You can't use this *XDIM_MEMBERSET ACCDETAILDIM=BAS(FLOW_CLOSING_CALC)
    To make this work, i did the folowing
    I modfied the dimension, and created and extra collumn, and assigned it the value of "FLOW_CLOSING_CALC" to all of it's base members.
    Now you can use the folowing code
    *SELECT(%VARIABLE%,[ID], ACCDETAILDIM,"COLUMN_CREATED='FLOW_CLOSING_CALC'")
    *XDIM_MEMBERSET ACCDETAILDIM= %VARIABLE%
    i HOPE THIS HELPS

  • Syntax error in program "SAPLXRSA " -SENT

    Hi Guys,
    I have done user exit in R/3 datasource when I do the test extraction using RSA3 and geting the data without any error. I've transport the requet to Test Box and tried to do the extraction in TestBox and getting the below SYNTAX Error message. Kindly advise it's very URGET. Thanks in advance.
    ShrtText
    Syntax error in program "SAPLXRSA ".
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLRSAP" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    In program "SAPLXRSA ", the following syntax error occurred
    in the Include "ZXRSAU01 " in line 21:
    "Field "ZOXPRO0043" is unknown. It is neither in one of the specified t"
    "ables nor defined by a "DATA" statement. "DATA" statement."
    Author and last person to change the Include are:
    Author "SAPCHEOLENG "
    Last changed by "CCEV200 "
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "SAPLXRSA ".
    You can also perform the syntax check from the ABAP/4 Editor.
    If the problem persists, proceed as follows:
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    is especially useful if you want to keep a particular message.
    Error analysis
    In program "SAPLXRSA ", the following syntax error occurred:
    "Field "ZOXPRO0043" is unknown. It is neither in one of the specified t"
    "ables nor defined by a "DATA" statement. "DATA" statement."
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    If you cannot solve the problem yourself and you wish to send
    an error message to SAP, include the following documents:
    1. A printout of the problem description (short dump)
    To obtain this, select in the current display "System->List->
    Save->Local File (unconverted)".
    2. A suitable printout of the system log
    To obtain this, call the system log through transaction SM21.
    Limit the time interval to 10 minutes before and 5 minutes
    after the short dump. In the display, then select the function
    "System->List->Save->Local File (unconverted)".
    3. If the programs are your own programs or modified SAP programs,
    supply the source code.
    To do this, select the Editor function "Further Utilities->
    Upload/Download->Download".
    4. Details regarding the conditions under which the error occurred
    or which actions and input led to the error.
    System environment
    SAP Release.............. "640"
    Application server....... "hawk"
    Network address.......... "137.132.12.22"
    Operating system......... "HP-UX"
    Release.................. "B.11.23"
    Hardware type............ "ia64"
    Character length......... 8 Bits
    Pointer length........... 64 Bits
    Work process number...... 0
    Short dump setting....... "full"
    Database server.......... "hawk"
    Database type............ "ORACLE"
    Database name............ "QAS"
    Database owner........... "SAPR3"
    Character set............ "en_US.iso88591"
    SAP kernel............... "640"
    Created on............... "Oct 16 2006 20:35:55"
    Created in............... "HP-UX B.11.23 U ia64"
    Database version......... "OCI_920 "
    Patch level.............. "153"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
    10.2.0.."
    SAP database version..... "640"
    Operating system......... "HP-UX B.11"
    Memory usage.............
    Roll..................... 16128
    EM....................... 12569760
    Heap..................... 0
    Page..................... 65536
    MM Used.................. 1716768
    MM Free.................. 2470608
    SAP Release.............. "640"
    User and Transaction
    Client.............. 220
    User................ "CCEENGG"
    Language key........ "E"
    Transaction......... "RSA3 "
    Program............. "SAPLRSAP"
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where terminated
    The termination occurred in the ABAP program "SAPLRSAP" in
    "CALL_DATA_CUSTOMER_FUNCTION".
    The main program was "RSFHGEN2 ".
    The termination occurred in line 96 of the source code of the (Include)
    program "LRSAPF06"
    of the source code of program "LRSAPF06" (when calling the editor 960).
    Source Code Extract
    Line
    SourceCde
    66
    CALL FUNCTION BW_BTE_CALL_BW204010_E
    67
    EXPORTING
    68
    I_DATASOURCE = L_DATASOURCE
    69
    I_UPDMODE    = P_UPDMODE
    70
    TABLES
    71
    I_T_SELECT   = P_T_SELECT
    72
    I_T_FIELDS   = P_T_FIELDS
    73
    C_T_DATA     = P_T_DATA
    74
    C_T_MESSAGES = L_T_MESSAGES
    75
    EXCEPTIONS
    76
    OTHERS       = 1.
    77
    DESCRIBE TABLE P_T_DATA LINES L_LINES.
    78
    MESSAGE S408 WITH L_LINES.
    79
    Handle BTE-Exit error messages
    80
    IF SY-SUBRC <> 0.
    81
    P_SUBRC = SY-SUBRC.
    82
    IF 1 = 2. MESSAGE E021 WITH ''. ENDIF.
    83
    MESSAGE_WRITE 'E' 'R3' '021' 'BW_BTE_CALL_BW204010_E' '' '' ''.
    84
    ENDIF.
    85
    IF NOT L_T_MESSAGES IS INITIAL.
    86
    PERFORM WRITE_BTE_EXIT_MESSAGES TABLES   L_T_MESSAGES
    87
    CHANGING P_SUBRC.
    88
    ENDIF.
    89
    ENDIF.
    90
    ENDIF.
    91
    92
    Call Customer-Exit
    93
    DESCRIBE TABLE P_T_DATA LINES L_LINES.
    94
    MESSAGE S407 WITH 'EXIT_SAPLRSAP_001' 'CMOD' L_LINES.
    95
    CLEAR SY-SUBRC.
    >>>>>
    CALL CUSTOMER-FUNCTION '001'
    97
    EXPORTING
    98
    I_DATASOURCE             = L_DATASOURCE
    99
    I_ISOURCE                = L_12B_SOURCE
    100
    I_UPDMODE                = P_UPDMODE
    101
    TABLES
    102
    I_T_SELECT               = P_T_SELECT
    103
    I_T_FIELDS               = P_T_FIELDS
    104
    C_T_DATA                 = P_T_DATA
    105
    C_T_MESSAGES             = L_T_MESSAGES
    106
    EXCEPTIONS
    107
    RSAP_CUSTOMER_EXIT_ERROR = 1
    108
    OTHERS                   = 2.
    109
    DESCRIBE TABLE P_T_DATA LINES L_LINES.
    110
    MESSAGE S408 WITH L_LINES.
    111
    112
    Handle Customer-Exit error messages
    113
    IF SY-SUBRC <> 0.
    114
    P_SUBRC = SY-SUBRC.
    115
    IF 1 = 2. MESSAGE E020 WITH ''. ENDIF.
    Contents of system fields
    Name
    Val.
    SY-SUBRC
    0
    SY-INDEX
    1
    SY-TABIX
    1
    SY-DBCNT
    0
    SY-FDPOS
    0
    SY-LSIND
    0
    SY-PAGNO
    0
    SY-LINNO
    1
    SY-COLNO
    1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE
    Report for the extractor call
    SY-MSGTY
    S
    SY-MSGID
    R3
    SY-MSGNO
    407
    SY-MSGV1
    EXIT_SAPLRSAP_001
    SY-MSGV2
    CMOD
    SY-MSGV3
    100
    SY-MSGV4
    Active Calls/Events
    No.   Ty.          Program                             Include                             Line
    Name
    5 FUNCTION     SAPLRSAP                            LRSAPF06                               96
    CALL_DATA_CUSTOMER_FUNCTION
    4 FORM         SAPLRSAP                            LRSAPF06                               96
    CALL_DATA_CUSTOMER_FUNCTION
    3 FORM         GP3PDR0GQDXJ0ZOA35DPGNCU80M         GP3PDR0GQDXJ0ZOA35DPGNCU80M           274
    PROCESS_DATA_PACKAGE
    2 FORM         GP3PDR0GQDXJ0ZOA35DPGNCU80M         GP3PDR0GQDXJ0ZOA35DPGNCU80M           170
    DATA_TRANSFER
    1 EVENT        RSFHGEN2                            RSFHGEN2                               59
    START-OF-SELECTION

    Hello Raja,
    I think some objects should still lying in the dev. server which are yet to be transported, also try to deactivate and reactivate the project for user exit for BW and transport it .
    Also manually request can be created for transporting object "ZOXPRO0043" into quality environment and transport it .
    Let us know the output for the same.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • Syntax error  while executing Key Figure routine

    Hello,
    I am posting my question again, as I have not got any solution. Please help it will be really appreciated. Here's the description
    I am loading data from flatfile to an Infocube with 3 keyfigures: Sales Price , Sales Quantity, Sales Revune. Getting values for Sales Price and Salea Quantity  from flatfile and calculating for Sales Revunue IO_VB_REV using routine
    - I created Transformations, and under Rule Group: Standard Group box I have not mapped IO_VB_REV  any datasource field and see 'X' sign against the field.
    - In rules detail screen, I add two source fields of Rule , IO_VB_QU and IO_VB_PRC. I see IO_VB_REV already added under 'Target fields of Rule' section
    - I then add the only following line to routine
    RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU * SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    - Clicking on check button it gives no syntax error message. I save and exit back to Rule Details page.
    - For IO_VB_REV field If I select any of 2 options i.e. Fixed Unit or No conversion it gives me a dump. So I select 'from conversion' option. In that case I enter USD against 'Conversion Type' field. It gives me information box popup with 'Incorrect Input Message'
    - When check button hit on 'Rule Details' page, it gives me error message ' Syntax error in routine '
    Why is it giving me syntax error, inspite of the fact that I get 'no syntax error' message on routine page. Also why am I getting short dumps on changing Conversion Type

    Hi Olivier,
    I really thank you for ur efforts in helping me solving this problem. Below is complete description of KF defined,
    1. Created InfoObjects for Sales Quantity, Sales Price, Sales Revunue
    Definition of <b>Sales Quantity</b>
    Name: IO_VB_QU
    Type/Data Type : Quantity
    Data Type: QUAN - Quantity field, points to unit field with format UN
    Currency / unit of measure
    Unit / Currency: 0UNIT
    Definition of <b>Sales Price</b>
    Name: IO_VB_PRC
    Type/Data Type : Amount
    Data Type: CURR - Currency field, stored as DEC
    Currency / unit of measure
    Fixed Currency: USD
    Definition of <b>Sales Revunue</b>
    Name: IO_VB_REV
    Type/Data Type : Amount
    Data Type: CURR - Currency field, stored as DEC
    Currency / unit of measure
    Fixed Currency: USD
    2. As the data is being read from flatfile, created DataSource with fields for Sales ID, Sales Price, Sales Quantity. As I am reading unit for quantity from file (has values EA,BOX,CSE), I have a corresponding field UNIT in DataSource. No field for Sales Revunue.
    3. I use 'Create Transformation' functionality to automatically create transformations.
    4. Rule Details page of each of 3 KFs has following values
    <b>Rule Details page of Sales Quantity</b>
    Rule Type: Direct Assignment
    Aggregation : Summation
    Target Unit: 0UNIT
    Unit: from Source
    Source Unit: UNIT
    Source Fields of Rule: /BIC/IO_VB_QU, UNIT
    Target Fields of Rule: 0UNIT, IO_VB_QU
    <b>Rule Details page of Sales Price</b>
    Rule Type: Direct Assignment
    Aggregation : Maximum
    Fixed Target Currency : USD
    Currency: No Conversion
    Source Fields of Rule: /BIC/IO_VB_PRC
    Target Fields of Rule:  IO_VB_PRC
    <b>Rule Details page of Sales Revunue</b>
    Rule Type: Routine   
    Aggregation : Summation
    Fixed Target Currency : USD
    Currency: from Conversion
    Conversion Type: ??????.....(I entered USD it gives me Incorrect Input message)
    Source Fields of Rule: /BIC/IO_VB_PRC, /BIC/IO_VB_QU, UNIT
    Target Fields of Rule:  IO_VB_REV
    I have this line is the routine 
    RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *   SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC.
    Let me know if u need any other info......
    I really appreciate u trying  to help me
    Vidya

  • Getting syntax error while executing keyfigure routine BI 7.0

    Hello,
    I am writing a very simple keyfigure routine to calculate sales revune using sales quantity and sales price, I am getting error as follows
    - I am in 'Rules Details' screen and I have selected 'Routine' as the rule type. I enter the following code in routine
         RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *
         SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    - I hit the check button on the routine page, it says no syntax errors
    - Now I am back in the 'Rules Details' page and I hit the 'Check' button it gives me the following error
    Rule(target IO_VB_REV, group: Standard Group): Syntax error in routine
    Please tell me what is wrong. what should i check

    Hi Vaibhav,
    Here are the details
    - I am loading data from flatfile to an Infocube with 3 keyfigures: IO_VB_PRC (Sales Price) , IO_VB_QU (Sales Quantity), IO_VB_REV (Sales Revune). Getting values for IO_VB_QU and IO_Vb_PRC from flatfile and calculating for IO_VB_REV using routine
    - I created Transformations, and under  Rule Group: Standard Group box I see 'X' sign against 'IO_VB_REV' field, meaning not mapped to any datasource field
    - In rules detail screen, I add two source fields of Rule , IO_VB_QU and IO_VB_PRC. I see IO_VB_REV already added under 'Target fields of Rule' section
    - I then add the only following line to routine
    RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *    SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    Clicking on check button it gives no syntax error message. I save and exit back to Rule Details page.
    - I specify 'USD' as the Conversion Type and then click on check button it initially gives me 'Incorrect Input'  written in an information message box and then error that Syntax error in routine
    Let me know what is that I am missing
    Thanks for helping

  • TDMS4HCM - Syntax Error CNV_TDMS_HCM_TEST_AUTH_PA

    Hello experts,
    we have a really big problem regarding the step " Authorization Test for PA Transfer Program" which
    calls the report CNV_TDMS_HCM_TEST_AUTH_PA.
    It appears a Syntax error:
    Message: Logical Database "PNPCE" is unknown.
    Our system architecture is installed as follwing:
    Q System:
    Copy of production system (Source system)
    TDMS Server
    E System:
    This should be the target system for the PA - Data from the Q System.
    I think the problem is that the TDMS Server can not find PNPCE because it is a HCM - Logical Database.
    And HCM is installed on Q System and not on the TDMS Serce.
    Is this right? And when yes how can i offer acces from the TDMS Server to the logical database.
    Many thanks
    Marco

    Hello Marco,
    You need not have HCM on the TDMS Server, but you wil face some errors during instalation.
    You can ignore these errors, by activating the objects manually.
    Also you can refer to this Note 1369692 - TDMS4HCM: Syntax errors installing notes
    If you still face any issues, please raise a OSS message.
    Regards,
    Prasanth

  • Fox syntax errors after SEM 600 Patching to SP12

    Greetings all you experts out there..
    Pre patching to SP12,  all our Fox formulas using the following syntax to convert a fiscal period to a fiscal year worked without problem:
    PER = 0092008.
    YEAR = PER/0001000.
    This would return a value for YEAR = 0002008.
    Yes, it worked with the 3 leading zero's....!!!
    Post patching, system no longer likes this syntax and throws out an syntax error message.
    Please understand that I have no difficulty in changing the code - say using SUBSTR - to simply get the 4 digits only relevant to the fiscal year.......BUT...because we have these fox functions all over our solution, we were hoping for a more general fix which then would not require changes (and thus transports to production) etc.....
    So, any ideas on how to fix WITHOUT changing the Fox code...???
    Thanks and regards,
    Rael

    Hi Hans,
    Sorry, well spotted.....a typing mistake...
    Yes, the fiscal period is in format 2008009....and when you apply following Fox statement:
    PER = 2008009.
    YEAR = PER / 0001000.
    the result is
    YEAR = 0002008.
    and this is where the Fox formula editor is throwing up the syntax error....because it expects a 4 digit number for the year, i.e., no leading zeros.......
    Remember, these Fox formulas have beein working correctly for years, and it is only after patching that we are receiving the syntax error....
    Regards,
    Rael

  • Designer syntax errors in correct code.

    I have added some trigger code to a bound item. The designer syntax checker finds errors in the code but the generated form runs correctly. It appears that the syntax checker doesn't like DECLARE. The code doesn't do anything and I believe it is fine but I would like to get the syntax checker to stop complaining about it. Any suggestions on how I might arrange things to stop the syntax error messages would be appreciated. Here is the offending code with error messages:
    DECLARE
    item_id     Item;
    BEGIN
    item_id := FIND_ITEM('M1.STATE');
    END;
    The Syntax Checker found the following errors:-
    PLS-00103: (Line 1) Encountered the symbol "DECLARE" when expecting one of the following:
    begin function package pragma procedure separate subtype type
    use <an identifier> <a double-quoted delimited-identifier>
    form current cursor external language
    The symbol "begin" was substituted for "DECLARE" to continue.
    PLS-00103: (Line 20) Encountered the symbol "end-of-file" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted d
    [2] error(s), [0] warning(s)

    This will not work correctly in 32-bit Windows (or 64-bit) The type of wParam *must* be WPARAM, the type of lParam *MUST* be LPARAM, and for a dialog handler the return type should be BOOL. The old _export keyword no longer exists, and is not needed in
    Win32. FAR is a macro with an empty body and its appearance in all places can be deleted. The quaint and confusing PASCAL keyword may still work, but it would be better to use the now-correct term CALLBACK. Since this is clearly antique Win16 code, there may
    be other problems dealing with size of integers. The types int, long, DWORD, UINT and others all represent 32-bit values. The return type for window handlers must have the return type LRESULT, and for dialog handlers, BOOL. All wParam and lParam types must
    be changed as I indicated. Note that for Win16, wParam was 16-bit and lParam 32-bit. For Win32, WPARAM, LPARAM and LRESULT are all 32-bit values, and for Win64 they are 64-bit values. Any place the code casts a pointer to an integer type, the code is inherently
    incorrect. You must use types like INT_PTR, UINT_PTR, DWORD_PTR and other _PTR-suffixed types for such casts; in Win32 these are pointer-sized integer types (32-bit) and in Win64 they are pointer-sized integer types (64-bit). Types like int, long, DWORD, etc.
    are 32-bit values in both Win32 and Win64. Converting code to run on Win32/64 from Win16 requires great caution, because the programming "standards" that were taught for Win16 did not plan on true platform portability, and programmers were taught
    terrible techniques such as declaring wParam as WORD and LPARAM as long. And casting pointers to ints and back. All of these techniques lead to disaster.

  • Syntax error in Se80 even though the syntax is right

    Hi ,
    We are using a three system landscape. DEV -
    TST---CON
    The correction request released from dev sytem has no syntax error in both DEV and TST but only in cons system.
    All systems hare in the same basis SP levels for release 620.
    Even though the sytax is absolutely correct and no activation errors.The program has sytax error during generation phase.
    Any ideas as to  why this is occuring and how can we rectify it.
    In the class attributes the type is unknow sytax error is thrown.
    TT_INFTYPES  Static     Protected     Type     TT_TYPES     
    below is the definition for TT_TYPES.
    begin of t_types,
        ity type inty,
      end of t_types,
      tt_types type standard table of t_types.
    The sysntax is correct but still I get syntax error only in cons system.
    Edited by: Vighneswaran CE on Nov 26, 2010 12:41 PM

    It would be helpful to know the exact syntax error message.
    So now i'm just guessing INTY doesn't exist on CON.

  • Can I prevent the rapid flashing which occurs when testing a Flash movie which has a syntax error?

    I teach games development using Flash Professional CS6, and one of my students has photosensitive epilepsy. He is finding that the 'strobing' effect which occurs when he executes Test Movie on a movie with errors in its script is triggering headaches which can be a precursor to a fit. Obviously this is making it very difficult for him to complete his lab and assignment work. Is there any way of preventing a Flash movie from running if it contains a syntax error?
    I have created a workaround by adding a bunch of extra frames to the start of the movie which will display a "SYNTAX ERROR" message if the script doesn't run - this gives my student a few seconds margin to quite the movie before the strobing begins. I have a single frame at the start with a goto statement which jumps over those error frames if the code doesn't have any syntax errors.
    This seems to be working ok, but it's an ugly solution - does anyone know of a better way to deal with this?
    Thanks.

    1.In Preferences you can check "open test-movie in tabs".
    2. Having done that you could write a jsfl-script which switches the focus (immeadiately after you test the movie) to another tab in the same register card, thus, forcing the possible "corrupt" testmovie in the background. If are no compiler errors , the testmovie can be made available by simply switching to the test-movie tab, if there are compiler errors, you can close it without having to look at it.
    Another option would be to setup FlashDevelop as compiler trigger of Flash.
    You have to change these basic properties in your project:
    FlashDevelop will only launch the test movie if it compiles flawless, inside Flash.
    FlashDevelop will act as a "bouncer" to Flash.

  • Error Message The OLAP Type Requested counld not be found

    After analyzer completely install in Win98 SE (Eng) without any error message. However, when the user connect to Essbase then the message come up as shown in the subject.Any idea to resolve this error message??ThanksLouis

    This behavior occurs only If I put a <cfapplication> tag on my cfm page.
    When I put the <cfapplication> tag in an explicit file Application.cfm, cfc syntax error messages appears correctly.
    Maybe just a problem with my configuration (IIS7), but perhaps an indication...

  • Cs4 + swfObject = syntax error *sometimes*

    With CS4, on some sites I get a syntax error notice, always
    pointing to the line following the javascript for a swfObject
    insertion. But it only happens on some pages, not all. I have
    compared dtd's, css, and anything else I can think of that might be
    different, with no success in determining what is causing this. The
    page renders fine, but the yellow warning bar is a real annoyance,
    and I'd like to cure it?
    jimbo

    You are getting this syntax error IN CS4, right?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Jimbo7777" <[email protected]> wrote in
    message
    news:gdq4nv$5t5$[email protected]..
    > This page does not create the yellow bar syntax error
    message:
    >
    http://fordhammarket.com/index.html
    >
    > This page does create the yellow bar syntax error
    message, and it always
    > points to the line AFTER the swfObject javascript
    insert, even if that
    > line is
    > empty:
    >
    >
    http://donaldkallenforpresident.com/index.html
    >
    > screen shot:
    >
    http://jimbo.us/lab/syntaxError.jpg
    >
    > thanks,
    > jimbo
    >

Maybe you are looking for

  • What is happening in this CC thing?

    This is starting to turn into the complete fiasco I have been dreading. Not only do half the applications in CC 2014 fail to install properly but I am also concerned about the multiple stacked versions it seems to be installing. I fail to understand

  • Exporting imovie through AVDV converter box?

    I have been using either export or share to send finished videos through a converter box and into a VCR for years with no problem. When trying to export the latest project, it jumps in pieces and freezes up. It plays fine in imovie but can't export.

  • Session in BSP?

    How to create Session in BSP? Is there any simple way to go for it?

  • Keyword file format with {synonyms} is too finicky

    I just created a 4000 term keyword file, hierarchically organized.  i used excel to create the organization.  this was not an easy task because it seems that lightroom requires a file organized to look like this main keyword                subkeyword

  • CXPACKET Wait events

    Hi, I am facing wait event CXPACKET in top wait events. we are using SQL Server 2012. the DOP is set to 1.  Please suggest how to resolve this REgards