Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refreshing
Message
From
17/09/1998 19:03:41
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
To
17/09/1998 18:05:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00137946
Message ID:
00138012
Views:
27
>>If I then clear (ZAP) the table (on page on) and then
>>add a record to the table (so now there's only one
>>record in the table) and switch to page two the grid
>>shows that there are no records in the table.
>>
>>What's happening?
>
>Ok, I figured out what's happening but I still don't know
>how to fix it. In order to ZAP the table I must first
>open it exclusivly
>
>SELECT ProfileSrc
>
>lnOldBuffering = CURSORGETPROP( "Buffering", "ProfileSrc")
>USE (DBF()) EXCL
>
>ZAP it, and then re-open the file and set the properties
>
>USE (DBF()) ;
> ALIAS ProfileSrc
>CURSORSETPROP( "Buffering", lnOldBuffering, "ProfileSrc")
>
>Somewhere in this process the grid columns get destroyed.
>
>I discovered this because I use one of the cells in the
>grid to search for values in another table. After clearing
>ProfileSrc I get an "Unknown Member" error. Also when
>the grid is displayed it comes up totally blank with no
>headers or gridlines.
>
>Like I say, I know what's happening, but don't know how
>to fix it.
>
>Anyone???
>
> ...kt

Just curious. As the others say you may have to refill the controlsource but what if you add an ALIAS ProfileSrc to your EXCL use.
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform