Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

coding rules and error searching in document

Anonymous
2013-08-30
2013-08-30

  • Anonymous
    2013-08-30

    Hi,

    I am trying to use the coding option in the KH coder. I created the coding rule following the tutorial and the example of the Bocham novel. However, I get an error message when I search in the document.

    It says:

    "Syntax error in the coding rule:* input
    SQL inpit
    INSERT INTO ct_dan_ccode_50 (id, num)
    SELECT dan.id, IFNULL (ct_ddan_0.kihon49.0)+ 0 + ..... " and it goes on.

    I get a similar message several times.Am I doing anything wrong with the coding rule?

    Thanks again for your help! You are being a great help!

     
  • HIGUCHI Koichi
    HIGUCHI Koichi
    2013-08-30

    Hi,

    It appears that your coding rules have some syntax errors.

    Can you paste a small example of coding rule that causes the error?

     
    Last edit: HIGUCHI Koichi 2013-08-30

  • Anonymous
    2013-08-30

    Thanks for the quick reply!

    This is an example:

    * methods
    financial strategy | costs| benefits| method | regional_offer |
    
    * input
    public_goals | sectoral_goals | abstract_goals | own_interest | common_interests| ambitions_of_the_government | idea | ambition | perspective | national_goals
    
    * output
    visible_benefits | profit | regional_development | regional_economy | regional_profits | realistic_benefits | visible_regional_ambitions | success | decision | synergy | benefit | integration | profit | innovation |
    

    Thanks again!

     
    Last edit: HIGUCHI Koichi 2013-08-30
  • HIGUCHI Koichi
    HIGUCHI Koichi
    2013-08-30

    • "financial strategy" should be "financial+strategy"
    • You have to delete last "|" of *method and *output.
    • You have to insert a space after "costs," "benefits" and "common_interests."

    Good Luck.

     
    Last edit: HIGUCHI Koichi 2013-08-30


Anonymous


Cancel   Add attachments