Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reccount problem on GRID
Message
De
25/03/2012 19:15:36
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Reccount problem on GRID
Versions des environnements
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01539334
Message ID:
01539334
Vues:
84
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform