Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index based on a date file using optimistic table buffer
Message
From
23/12/2003 09:21:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00861531
Message ID:
00861582
Views:
25
>Hi! I have a grid which ordered is based on a date field. This grid uses optimistic table buffering.
>
>When a new record is added via a command button when the user tabs off the date field I issue a refresh and the grid is reordered.
>
>However, when another record is added the and the user tabs off the date field the refresh in my lost focus does not reorder the grid? Is this somthing to do with the data buffering?
>
>If I then save the changes (& tableupdate), if I close the form then run the form again & start again then 1st new record I add is reordered, then any additional records are not as above?
>
>Can anyone put me out of my misery, and shed some light on this ?
>
>Yours hopefully
>Robin

Robin,
I'm not sure if this might be related. If grid has a parent-child relation and during refresh child alias is selected, refresh doesn't occur as expected.
Try :
-selecting another alias first
-go recno() instead of refresh
- .grid.recordsource = .grid.recordsource
One of these might resolve it.
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
Next
Reply
Map
View

Click here to load this message in the networking platform