Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Control - Append a new record in the last grid row
Message
 
À
10/11/1998 16:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00156026
Message ID:
00156532
Vues:
42
>>>
>>>how about
>>>
>>>IF RECCOUNT(THIS.RecordSource) = 0
>>
>>RECCOUNT ignores SET DELETED status so if I deleted a child record, RECCOUNT will always come back with at least 1.
>
>Ok, still trying here...
>
>IF EOF(THIS.RecordSource) OR BOF(THIS.RecordSource) OR DELETED(THIS.RecordSource)
>    GO TOP IN (This.RecordSource)
>    IF EOF(THIS.RecordSource)
>       APPEND BLANK IN (THIS.RecordSource)
>    ENDIF
>ENDIF
>
I must say Erik, you have perseverance which I am most happy for. This looks like it could be the one. I'm going to test it this morning and will let you know.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform