>>I have written a VFP-Com-Server which is used by a Java-application
>>to access data from my ERP-System. When I now changed something
>>and recompiled it, the following line causes an error:
>>
>>
>>replace gatitel.drehzahl WITH gatitel.drehzahl + this.vmenge
>>
>>
>>The error is 2031, which is "User interface operation not allowed at this time".
>>This does not make any sense to me, does someone have an idea?
>
>Try
>
>replace drehzahl WITH drehzahl + this.vmenge IN gatitel
>
First I'd delete all compiled and activeX definition files, recompile all, test again
If error persists, I'd go 1 step further to isolate anything in the system or accessmethod by
local lnMenge, lnSel
lnMenge = this.vmenge
lnSel = select()
select gatitel
replace drehzahl WITH drehzahl + m.lnMenge
select (m.lnSel)