Jack,
Definitely sounds like a caching problem to me. I had to disable all the
cache settings on both my PC and server before errors like this went away,
so I have learnt by painful experience.

Dave C

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Jack Skelley
Sent: 18 October 2010 15:23
To: [email protected]
Subject: RE: VFP9 SP2: Losing Method Code

Good Morning All:
Saturday was a bleak day for my real time stats app in VFP9 in a game
against the Boston Bruins.
The program did not initialize because the method that selects the players
for the game was not in the compiled program. Since no players could be
selected the program did not run.
All of the items that were sent to me as possible remedies to the missing
code were tried and obviously did not work. In my applications I have an
email function that sends the error report(s) to me. So Saturday evening I
received 60+ emails with what was wrong. The only saving item of all of this
is I leave the previous version of the app on the drive and the team
statistician knows what it is and was able to get the program operational
for the game using the previous version.
So this morning I launched VFP9 and opened the SCX as a table and found the
method with the missing code. Then I opened the form and instead of seeing
the objects it opened to a method. I closed that method and where the code
should have been for the player selection was empty. So here is my question:
How does the form open to a method instead of the objects? (I am sure I
close all of the methods before I close the form) Since this was 'open' did
this cause some of the code in other methods to disappear?
I did have this method open to check the array subscripts but was sure I
closed it. 
Could this be a drive caching error where the info is not written back to
the SCT?
I am losing confidence quickly.
Regards,

Jack Skelley


________________________________________
From: [email protected] [[email protected]] On Behalf
Of Rick Schummer [[email protected]]
Sent: Saturday, October 09, 2010 11:55 AM
To: [email protected]
Subject: RE: VFP9 SP2: Losing Method Code

>>I did write a prg to open all scx's as a table and issue a pack. But can't
tell if any issues until one exists. Sounds crazy but this app has 37 forms
with many objects and methods.<<

There is a simpler way to pack all the source code in the project. Select
Rebuild Project and Recompile All Files before building the project. VFP
will pack all the SCX, VCX, FRX, LBX, MNX, PJX, and DBC files in the
project. Note, I am still recommend you wipe the ObjCode column manually for
the problem form.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com
<a href="http://devils.nhl.com/";><IMG
SRC=http://c1.newjerseydevils.com/sig/signatures.php?sender=jskel...@newjers
eydevils.com border="0" usemap="#Map"></a>
<map name="Map">
  <area shape="rect" coords="4,67,203,85"
href="http://devils.nhl.com/club/page.htm?id=62715"; target="_blank">
  <area shape="rect" coords="269,67,346,87" href="http://www.prucenter.com/";
target="_blank">
  <area shape="rect" coords="243,43,264,62"
href="http://www.youtube.com/prudentialcenter"; target="_blank">
  <area shape="rect" coords="223,43,244,62"
href="http://twitter.com/nhldevils"; target="_blank"><area shape="rect"
coords="203,43,224,62" href="http://www.facebook.com/NewJerseyDevils?ref=ts";
target="_blank">
</map>
</A>


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to