>Cetin,
>
>I may get a clue about this problem when I troubleshoot the checkboxes which are also not working on the pageframes that are hidden behind the top pageframe. The difference here being that the checkboxes don't have a ControlSource or Value. To fill the checkboxes on the form I look at the table and see if the field(s) has a "Y", "N", or "U" for Yes, No, Unknown and then check the checkboxes accordingly. I am getting ready to troubleshoot that problem as well and may find the answer to my other problem relative to pageframes and GATHER. I will let you know what happens and how I fixed it. But don't hold your breath. Thanks again. Your efforts are always appreciated by your fellow worker bees.
Steve,
Actually spent some more effort :) As I said it
works w/o public declaration and it's a refresh problem I think what you're experiencing or some other code somewhere. Steps to test :
-Create a form and put a test table in DE - say employee.dbf.
-Put a pageframe on form and 4 buttons
-Now drop fields into different pages and then for each field you added set alias to 'm.' in controlsource
-Caption 4 bu7ttons as 'prev, next, save, discard'. But remember we're just testing so no error checking in the following code.
OK form is ready so codes :
with This.Pageframe1
for each oPage in .Pages
oPage.Refresh
endfor
endwith
if empty(this.tag)
scatter memvar memo
this.refresh
this.Tag = 'scattered first time'
endif
skip -1 in 'employee'
scatter memvar memo
thisform.refresh
skip 1 in 'employee'
scatter memvar memo
thisform.refresh
gather memvar memo
thisform.refresh
scatter memvar memo
thisform.refresh
Cetin