i create a report using rave report.
i use adoquery, rvdatasetconnection, and rvproject.
on rave designer i can execute the report i already design without any problem. i choose preview and it show the data i want.
but when i execute it from runtime, it ask the output option and when choose preview i get error
Project project.exe raise exception class ERaveException with message 'Field DataView1:qty. Datatype expected:dtBCD Datatype found: dtInteger'.
from the error say i think the data type missmatch, but cannot find where or how to fix it.
did i miss something or maybe i did something wrong somewhere.
thanks
i dont know what or where goes wrong.
but it fixed by itself.
what i did, only delete my adoquery, rvdatasetconnection, and rvproject.
and put a new one. set all needed attribute. set data view on rave designer. run it and it work.
maybe i miss one or two needed attribute to set or maybe its a bug.
but anyway thank for trying to help me.
I don't use ADO so I can't test but I would try setting persistent
fields and specifically set the field type to dtBCD
Mike
On 24.09.2014 11:46 PM, George Winkler wrote:
> Hard to help without seeing the code. I have used Rave a long time but I use RVSystem because I can code it the way I want and just don't see these kind of problems. Code??
>
> George
>
>> {quote:title=Budi Saputra wrote:}{quote}
>> i create a report using rave report.
>> i use adoquery, rvdatasetconnection, and rvproject.
>> on rave designer i can execute the report i already design without any problem. i choose preview and it show the data i want.
>> but when i execute it from runtime, it ask the output option and when choose preview i get error
>>
>> Project project.exe raise exception class ERaveException with message 'Field DataView1:qty.
Datatype expected:dtBCD Datatype found: dtInteger'.
>>
>> from the error say i think the data type missmatch, but cannot find where or how to fix it.
>> did i miss something or maybe i did something wrong somewhere.
>>
>> thanks
Hard to help without seeing the code. I have used Rave a long time but I use RVSystem because I can code it the way I want and just don't see these kind of problems. Code??
George
> {quote:title=Budi Saputra wrote:}{quote}
> i create a report using rave report.
> i use adoquery, rvdatasetconnection, and rvproject.
> on rave designer i can execute the report i already design without any problem. i choose preview and it show the data i want.
> but when i execute it from runtime, it ask the output option and when choose preview i get error
>
> Project project.exe raise exception class ERaveException with message 'Field DataView1:qty. Datatype expected:dtBCD Datatype found: dtInteger'.
>
> from the error say i think the data type missmatch, but cannot find where or how to fix it.
> did i miss something or maybe i did something wrong somewhere.
>
> thanks