Home > Archive > FoxPro Help and Support > May 2005 > How to export data from the Locals window to a dbf?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to export data from the Locals window to a dbf?
Peter

2005-05-02, 3:25 am

I have 2 applications which have similar global variables and objects. I
want to find out the differences. Is there a way to export data from the
Locals window to a dbf? If not, any suggestion how to find out the
differences?


Thanks.
Stefan Wuebbe

2005-05-02, 3:25 am


"Peter" <Peter@discussions.microsoft.com> schrieb im Newsbeitrag
news:B303886A-C1B6-4D7C-BA3B- 7BB233DEE511@microso
ft.com...
>I have 2 applications which have similar global variables and objects. I
> want to find out the differences. Is there a way to export data from the
> Locals window to a dbf? If not, any suggestion how to find out the
> differences?


You can have a shared "messages.dbf" and
Insert Into messages Values ("Any Value")
If you actually want to use the debugger's Locals window(?), it might not
be available at runtime and if it were, it would probably be difficult to
"automate" it.
See also the "SAVE TO" command in help. And maybe the _vfp.DoCmd()
method, if you want to instantiate another VFP instance via COM.



hth
-Stefan



--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------

Dan Freeman

2005-05-02, 11:24 am

The easiest way is probably LIST MEMORY TO FILE in both apps and then
compare the files.

Peter wrote:
> I have 2 applications which have similar global variables and
> objects. I want to find out the differences. Is there a way to
> export data from the Locals window to a dbf? If not, any suggestion
> how to find out the differences?
>
>
> Thanks.



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com