Andy,
It's all to do with exactly when the relationship gets refreshed and farmed
out to the screen driver. I had a long conversation with Mike Stewart over
this problem 18 months ago which was even worse in VFP8 in that pageframe
pages just displayed the completely WRONG child data and never seemed to
update.

Consequently, he fixed it in VFP9 which is why I never used VFP8 as for me
it was a real show-stopper.

However I've come to use the solution I gave to you as a general "fix" as it
always seems to refresh the relationship(s).

It is just as though there is a delayed "Cash" when refreshing relationships
that causes the problem but I'm wise to it now and at least have a fix.

Glad the fix worked.

Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Andy Davies
Sent: 30 March 2007 11:38
To: profox@leafe.com
Subject: RE: pageframe refresh

there is definately something wonky about form refreshes where there is a
pageframe:
my form objects are bound to properties of thisform.oData - which was
working fine until I made some changes to allow users to change records in
one of the underlying [ca] cursors which has another logical child cursor -
I put in code to do the necessary cursorrefresh's and scatter name this's
(with append blank where needed - hence my recent post on that topic),
finishing with thisform.refresh ...  result empty pages (aaargh!)
So I took out my "FOR i = 1 TO this.PageCount; this.Pages[i].Refresh()
;NEXT i" code in PageFrame.refresh and replaced it with Dave Crozier's
preferred This.Refresh in the Page Activate() events  ...  hey presto it
works!

Andrew Davies  MBCS CITP
  - AndyD        8-)#


**********************************************************************

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Please contact [EMAIL PROTECTED] with any queries.

**********************************************************************



[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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