Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe and Scatter Memvar issue
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Pageframe and Scatter Memvar issue
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01472261
Message ID:
01472261
Views:
179
Hey Everyone, ** VFP 8 SP1 **

I have added a page to a pageframe for some additional items that we are collecting from the user. This dialog has been around for ever with simple two pages. The first pages has the majority of individual fields each associated to a m.field in the control source, the second tab has a couple children grids and no additional fields.

I added the third tab, which has 10 additional individual fields from the same master table.

The form itself has a save button, where I save the data back into my sql table with either an insert or update. I issue a "scatter memvar blank" or "Scatter Memvar" from the show method based off if the use is in edit mode or insert mode. The problem I'm having is that the individual control are not displaying the values when I change to that page when running the code.

I have put a
thisform.pageframe1.activepage=3
Thisform.pageframe1.page3.refresh() 
thisform.pageframe1.activepage=1
as the last line in the show, but to no avail.

Thanks for any pointers.
Kirk
Next
Reply
Map
View

Click here to load this message in the networking platform