Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to sum subgroup
Message
 
 
À
17/01/2006 07:27:23
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01085512
Message ID:
01087487
Vues:
6
>i am trying to use indexseek like below :
>
>xpcode='0323'
>sele a
>use pcode1
>abc=iif(indexseek(xpcode,.f.,'pcode1','pcode'),pcode1.case,0)
>
>result the value of first record
>
>abc=iif(indexseek(xpcode,.t.,'pcode1','pcode'),pcode1.case,0)
>
>result correct value but record pointer moved
>
>warm regards,
>mk.

Perhaps you should use your custom function, which would save the record pointer, do seek, calculate value, then restore the record pointer? Or would it be possible to prepare your data in advance?
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform