p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Beginning VB 6 (http://p2p.wrox.com/forumdisplay.php?f=75)
-   -   How to check if collection is empty (http://p2p.wrox.com/showthread.php?t=10130)

Ciarano March 5th, 2004 07:32 AM

How to check if collection is empty
 
Hi guys

How do I check if a collection is empty i.e. a recordsets values have not been added to a collection

I've tried the IsEmpty, IsNull and IsMissing commands but none work.

Could someone help asap please?

Thanks

Ciaran

pgtips March 5th, 2004 08:01 AM

Check the Count property, if it's 0 then there's nothing in it.

Ciarano March 5th, 2004 08:11 AM

Thanks a lot


All times are GMT -4. The time now is 04:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.