Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refreshing
Message
From
17/09/1998 18:05:30
 
 
To
17/09/1998 16:20:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00137946
Message ID:
00137991
Views:
23
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform