Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappeaaring Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00052462
Message ID:
00052975
Views:
34
I don't know how to solve this problem but, perhaps I know the reason.

If I guess right, you used cmdbuttons set of vfp wizard in your form. The problem was caused by a statement inside that cmdbuttons set. You can trace the program. When it run the statement "TableUpdate()", the grid will disappear. I don't know the reason. It may be a bug of vfp because I read through help files and KB of MS, there was not mention such function of tableupdate() - close grid. My solution was give up to use one page one grid form.

hope this help.

Sunny

>>I was hoping somebody might be able to tell me why my grid keeps disappearing from my form.
>>
>>The form has a pageframe with five pages on it. On the first page is a one-to-many page between parents and their children.
>>
>>Since users don't check existing parents for dupes before entering a new one, I've changed the LostFocus event of the parent's last name field. It compares that field's value to all of the existing parents in the table by doing a copy to a temp table. If reccount('temp')>0, it shows a form that displays all of the possible dupes from the temp table. If reccount('temp')=0, it informs the user that the parent record is unique. After the second time through the LostFocus event, the grid for the children disappears.
>>
>>I've been looking into save screen and restore screen, as well as manually closing and opening the dataenvironment tables. Neither seems to work. Is what I'm doing possible. If so, how?
>>
>>Thank you for any help you can provide,
>>_Craig
>
>a coworker of mine was having the same problem and it appeared that for some reason when switching pages she would lose her relation. we havn't had time to sit down and figure out why it happens yet or how to prevent it but for the time being i think she's just resetting the relation when that page gets focus.
>if you want, i can try to find out more about it from her tomorrow.
>or if you determine why it happens we'd love to know.
>
>hope this helps
>
>gray
Can you live without the earth?
Please remind that :
"Yung Hung" is my first name;
"Yeung" is my last/family name.
Previous
Reply
Map
View

Click here to load this message in the networking platform