General information
Category:
Coding, syntax & commands
Title:
Reccount problem on GRID
Environment versions
Network:
Windows 2008 Server
Hello comunity
i use this code to check if in my grid form i have more than 1 record:
OX is my form and OY is my grid on my form OX
Select ox
if ox.olorigem = 'CX90'
select oy
scan
if reccount() > 1
msg("Não pode ter mais que uma linha," + CHR(13) + ;
"pois trata-se de uma Letra")
return .F.
endif
endscan
endif
select ox
But, even i have only 1 record on my grid, the message display. Why ?
could someone give me some help.
Many thanks
Luis Santos
Next
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