Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formula does not work
Message
From
06/07/2013 03:29:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Formula does not work
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01577874
Message ID:
01577874
Views:
72
I have a table(Mytable) where one of the fields(myfield) contains a
formula like ("=SUM(N2:N"+ALLTRIM(STR(lnLastRow))+")").

When I run the code below with the "=" in front of "SUM" in Myfield,
I get an OLE error(code 0x800a03ec: Unknown COM status code)

Without "=", the code works fine.
.Columns[1].Value =  Mytable.myfield 
Any help?
Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform