Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Displays as White Box
Message
From
30/08/2001 11:04:11
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
30/08/2001 08:43:34
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00550458
Message ID:
00550882
Views:
24
>>>Gotta be something simple. I copied a grid from one page to another and the copied one appears as a white rectangle; as if I drew a shape instead. RecordSource is set to Alias and is available. Any ideas? Thanks!
>>
>>I gather you mean during runtime?
>>
>>I just did a quick test with the basics, and it worked fine, so it must be in the details. What kind of record source is it?
>
>Nancy,
>
>That was it. I changed the record source to a known active view and it displays fine. I'll just have to track down what's wrong with the original alias.

I've had this a couple of times, and after some debugging, it turned out that some code in the form's .init was, once it was done, sitting on an alias which was at eof(). For some reason, that hosed the grid, which was based on an entirely different alias. There was a scan-endscan block and a simple Locate at the end of the form.init fixed it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform