Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
P-views and grids
Message
From
22/10/1998 12:49:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/10/1998 12:16:35
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00148953
Message ID:
00149486
Views:
31
>Erik
>
>At your prompting I spent more time with AERROR and it is a primary key uniqueness error--which at least confirms my suspicion. So, at least now I now it's okay that I readd the record. It's still a bit odd, but livable.
>
>Thanks for the push.
>
>>So AERROR[2] is empty???
Hi Nancy,
Makes some sense. After appending blank is there a grid.refresh ? What I mean is complex to spell for me so this code would partially demonstrate (I don't know it might help though) :(
* Grid.when
with this
 select (.recordsource)
 if eof(.recordsource)
    append blank in (.recordsource)
 endif
* .refresh
endwith
* Grid is not first control
* DE.initialselectedalias = none
* To force eof() set filter to somethingforcing
* Do not use KB to move to grid
* Try this with empty table and click on grid
* Then try with .refresh enabled
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