Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Problem
Message
From
07/02/2002 07:22:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00615913
Message ID:
00616507
Views:
25
Vlad,
delete
if !eof()
 skip
endif
if eof()
 go bottom
endif
thisform.myGrid.refresh
Works in simple grids. If that's something else then send the form :)
Cetin

>Hi!
>
>Cetun, do you know also a workaround for deletign the last record? I put a grid on the form, added a few records, then deleted last. Whatever I do, I cannot refresh the grid to hide that record. I even tried to change the order of records, so deleted records are forst in grid. Did not helped. If needed, I will send you a form. It is pretty simple. VFP6 SP5 and VFP7 show the same behaviour.
>
>>>I don't know why whenever after I do the deleting, the data still remain in the grid as well as other components like textbox or combobox ! I had checked my table, it shown that the particular data already deleted. For updating, each time after the updating, it will add another same record in the form(i load the data from a cursor to a form one by one) but in my cursor it always has one record. why ?
>>
>>set deleted on
>>move the pointer off from deleted record and refresh
>>Cetin
>>>
>>>please help me.
Ç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