Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[edt-dev] Fwd: WHY "The type sqlrecord cannot be resolved" ?


Hi,

I tried to compile the EGL file with EGL2IR XML in EDT, but got the error message like this: "The type sqlrecord cannot be resolved".

I think "sqlrecord" should be a pre-defined stereotype, and the compiler should accept it. But it seems I was wrong. What should I do to solve this problem ?

Any reply will be appreciated greatly.

Best regards,

 

 

the content of the file is :
==================================================
Record CustomerRecord type sqlrecord
    { tableNames=[["Customer"]], keyItems=["customerNumber"] }
   customerNumber INT {column = "customer_number"};
   customerName STRING {column = "customer_name"};
   customerBalance DECIMAL(9,2) {column = "customer_balance"};
end

program CustomerTest type BasicProgram

  myCustomer CustomerRecord;

  function main()
    myCustomer.customerNumber = 1001;
    get myCustomer;
    printCustomer(myCustomer);
  end

end
 
==================================================
 
 
 

 


Back to the top