Tracy,
I'm guessing that you can't use RECCOUNT() either. I'm also guessing that you can't use it because you have a RecordSource that has data, but also has a filter applied and you need to determine when no data meets the filter requirements. If all of that is the case, then you could do something like this:
LOCAL ARRAY laCount[1]
LOCAL lcFilter as String
laCount = 0
lcFilter = SET('Filter')
SELECT COUNT(*) ;
FROM (thisform.Grid1.RecordSource) ;
WHERE &lcFilter
RETURN (NVL(laCount[1], 0) > 0)
Make that a function and it will return .t. if the current RecordSource contains any rows that meet the current filter condition.
HTH,
Chad
>Is there another way to determine if a grid is empty with zero rows (no records) without using EOF() on the recordsource of the grid?
_________________________________
There are 2 types of people in the world: