Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error in VFP-Com-Server
Message
From
15/11/2017 15:53:35
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01655598
Message ID:
01655601
Views:
61
>>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 &&& yes, even isolate that.... IN gatitel
select (m.lnSel)
Previous
Reply
Map
View

Click here to load this message in the networking platform