Patience - started over and then it works.
Hi
I trying to place a QR control (via template) on a report, but it can’t compile.
Any idea?
Patience - started over and then it works.
Hi
I trying to place a QR control (via template) on a report, but it can’t compile.
Any idea?
That .INIT with 3 parameters (ProcessClass PC,<REPORT R>,<PrintPreviewClass PV>)
does Not Return a value so the error is correct. DAB overloaded .Init() a bit much IMO.
If you move your code to ThisWindow.Init() without params it will compile with your Return Level:Fatal
because in ABWindow that .Init() it is declared to Return (),BYTE,VIRTUAL,PROC
.
I now see you edited your original post at the top to add " Patience - started over and then it works" and the Topic is prefixed “Solved!”
Maybe you put the code in .Init() as I posted ???
Instead of your edit to the top, it would have been more obvious for you to Reply to yourself.
Sorry for the confusion. I removed the control and added it again. Then it works.