Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Things...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00198076
Message ID:
00198147
Views:
25
>>We have a form with two grids and some other stuff. When the form runs the second grid is a compleatly empty white box. We checked the column count with a wait window str(form.grid2.couumncount) in the form init and the column count is 0 (it is set to 2). We are in the process of re-doing the form from scratch but I just wondered if anyone has any ideas as to what is happening here. We are using VFP 6.0 with service pack 2. (Just got the while thing last week). I have had similar problems in the past and found the only way to fix it is to re-do the form or whatever from scratch. I tried compiling the form but it made no difference. I am comfortable going into the scx table or whatever but I have no idea where to look for the problem. The form looks good in the form editor.
>>
>>Ideas anyone?
>>
>>Many Thanks in advance.
>
>Usually, it indicates that you rebuild grid.recordsource dynamically e.g. running another SELECT_SQL to get new recordset. You don't need to redo whole form, there are at least two known ways to handle this problem, their usage depends on what kind of recordsource you actually use.

Thanks to all for the replys but the problem is not in how I am using the grid but due to bugs in VFP. We were able to actually copy everyting to a new form and it works fine. It seems that sometimes the form file (or sometimes other things) gets out of whack and we have to create a new one from scratch. I was wondering if something like deleting all the object code from the memo fields would work (or just trash the form).
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform