Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A grid that won't display ?
Message
From
24/12/1999 15:12:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/12/1999 07:15:55
Jaime Vila
Miami Children's Hosp. - Radiology
Miami, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00306206
Message ID:
00308442
Views:
37
>>>>>I've tried many read events / clear events combinations, still the grid on 'Form3' will not display.
>>>>
>>>>This has nothing to do with READ/CLEAR EVENTS. It has to do with manipulation of the cursor underlying the grid. What is the grid's recordsource, and how/when is it created?
>>>
>>>RecordSourceType is Alias, Record source is a Table, 'Table1'.
>>>No filter, every record in the table is available for the grid, about 1000.
>>>The click event code is actually -
>>>
>>>use 'Table1'
>>>set order to 'order'
>>>DO FORM 'Form3'
>>>sele 'Table1'
>>>use
>>>Thisform.release
>>
>>This is the code that calls the third form? If form 3 modal? If not, your code is falling right through and closing the table.
>
>The form is modal and ('Form3') has focus. It's there!! . . . just the grid is blank . .a white box. The form has a 'Cancel' button . . I press it and execution continues.
>
>Any other situations you've seen that makes the grid "blank" . . other than no recordsource?


Yes there are other situations causing it but not with a table recordsource.
I'd start debugging by just placing a commandbutton on form3 that would select and browse grid's recordsource to see if it's really there. If not check why (modeless, SDI etc). If there, next check grid's properties. Also as a last resort you might try (if all of the above passes) :
myGrid.Recordsource = myGrid.Recordsource
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform