Hello again! Hopefully someone has used the SCD400 components and can give me some guidance. I have placed an AS400 component on my data module and set the PLUAlias to my TDatabase component. I have also placed an TDataArea, tied it to the AS400 and defined the Library and Data Area properties. I can read the data area fine. I take this information transfer it to an Excel spreadsheet, update the information and then transfer it back to delphi. When I try to update the data area I get the following error:
Expression not allowed for parameter DTAARA
Here is the code I'm using to try to set the DataArea:
I'm not sure if the error is being generated by Delphi or by the AS400. If someone can help me figure out where the error is being generated, I would really appreciate it!
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!
Expression not allowed for parameter DTAARA
Here is the code I'm using to try to set the DataArea:
Code:
lastvoucher := excelsht.Cells[1, 10].Text;
JMSData.daLastVoucher.value := lastvoucher;
I'm not sure if the error is being generated by Delphi or by the AS400. If someone can help me figure out where the error is being generated, I would really appreciate it!
Thanks!
Leslie
landrews@metrocourt.state.nm.us
There are 10 types of people in the world -
those who understand binary
and
those who don't!