Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs Excel
Message
From
21/07/2011 06:34:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
VFP vs Excel
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Miscellaneous
Thread ID:
01518740
Message ID:
01518740
Views:
120
I have made the programme for stock broking company and its price are directly connected to foreign-exchange server through router in the open excel sheet
rates are refreshed in 2-3 seconds and on the other hand they open my vfp programme where all the client list and other data is stored and when the transaction is being done they just click on my programme save button and my programme get the excel sheet current cell value from A1 cell and stored into a database along with the other details and at the end of the day they make account for the same.

Now if the excel sheet is opened and refreshing data every 2-3 seconds but not saved every time we can't get the A1 cell value proper because vfp programme only get the value which first time at the time of last saved but not the flashed on screen so we need to save first and then click on the save button.

That is the problem so i put the oworkbook.save() command but it could not work.

otherwise they are working with first click on save button in the excel sheet and then click on vfp programme save button.

But i wanted to do it from vfp so that there is no need to save from excel sheet and vfp save button.

Thanks in Advance
Next
Reply
Map
View

Click here to load this message in the networking platform