Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleted record not 'disappearing' in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00426035
Message ID:
00426049
Vues:
14
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


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform