Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted record not 'disappearing' in grid
Message
From
06/10/2000 19:54:45
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00426035
Message ID:
00426351
Views:
14
Try moving the record pointer and then refresh the grid.

Guy


>Nope, it's an updatable cursor:
>
> SELECT * FROM whereused ;
> INTO CURSOR tcsrWU ;
> WHERE ALLTRIM(itemid) == ALLTRIM(ThisForm.cItemID)
> USE DBF('tcsrWU') AGAIN IN 0 ALIAS csrWU
>
>Actually updatable cursors are all I use, just habit at this point (for bad or good).
>I can't seem to get views to work properly and I don't really have time to spend on them right now.
>Yes, I know they have great advantages, I'll move to them eventually.
>
>- Brian
>
>
>>How was this cursor created?
>>Select * from Bob into cursor Mike means that cursor mike is not updateable.
>>So is this a view?
>
>>>Hi all, this is really bugging me:
>>>
>>>I have a grid that is sourced by a cursor. When I mark a record for deletion, it doesn't 'disappear'
>>>from the cursor. I have SET DELETED ON and tried to issue a Refresh to the grid, but the record
>>>still shows. The cursor is table buffered and I do not want to TABLEUPDATE because then
>>>getfldstate() won't detect the change.
>>>
>>>Any ideas?
>>>(VFP 6, SP4)
>>>
>>>Thanks,
>>>- Brian
Previous
Reply
Map
View

Click here to load this message in the networking platform