>>IIRC, RECCOUNT() looks at the header of the cursor, so your code could read:
>
>Thanks, that seems to be the best approach to use.
Be carefull with _TALLY.
This value can change fast...
Safer code:
This.nCount=_TALLY
IF This.lClientServer
This.nCount = RECCOUNT()
ENDIF
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca