Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare
Message
 
 
À
15/05/2000 22:30:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00369829
Message ID:
00369837
Vues:
17
Hi Cavin,

Not sure, that I understand, what are you looking for, but if you want to check the whole file record by record, use scan ... endscan, e.g.
local lnAge
if not used('MyTable')
  use MyTable in 0
endif
select myTable
scan
 if age<>lnAge
   flag=.f. && What is a flag, BTW, field name?
 endif
endscan
>Dear all :
> i have a .dbf file. I need a write a program to check the file. i want to compare a variable by itself, how can i do it.
> Example : A = age
>
>flag =.t.
>if A < > A
> flag =.f.
>endif
>do while .t.
>
>This method is right ?
>Thank You !!!
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform