Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of rows in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00909622
Message ID:
00909632
Views:
9
COUNT FOR < YourFilter > TO lnCounter
IF lnCounter > 0
  Do something
ENDIF
HTH
>Hi,

>I have an invoice form with a grid showing the items for that invoice. I would >like to do a check before saving the invoice to make sure at least one invoice >item exists. I use set relation to link the invoice and invoiceitem table.

>My question is how do i find out the number of rows in a grid? There seems to >be no grid.rowcount property. The grid is databounded but only a subset of the >records in the invoiceitem table is shown (for that invoice).
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform