Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want record to always be last row of grid
Message
From
11/11/2003 17:09:43
 
 
To
11/11/2003 14:31:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00848673
Message ID:
00848897
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform