Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Want record to always be last row of grid
Message
De
11/11/2003 17:09:43
 
 
À
11/11/2003 14:31:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00848673
Message ID:
00848897
Vues:
19
Hi Chris,
*  See if the recordsource has any records.  If it has no records, just
*  return.  There is nothing to position.
   SELECT ( this.RecordSource )

   COUNT NEXT 1 TO lnCount

   IF lnCount = 0
      RETURN
   ENDIF
RECCOUNT() includes deleted records it its tally. If SET DELETED is ON, COUNT NEXT 1 tells me that there is at least one non-deleted record in the RecordSource -- and this is all I want to know here.

Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform