General information
Category:
Coding, syntax & commands
>Hello!
>
>I would like to know if there´s any command or function to vfp says me if my table have records
>if it´s empty
>
>thanks
>Anderson Girardi
Try using the RECCOUNT() function.
Example:
IF RECCOUNT('mytable') = 0
WAIT WINDOW "My table has no records.' NOWAIT
ELSE
WAIT WINDOW "My table has records.' NOWAIT
ENDIF
Jerryt
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only