Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Matrix rate
Message
De
28/06/1999 11:38:07
Charlie Davies
McIntire School of Commerce
Virginie, États-Unis
 
 
À
27/06/1999 08:33:00
Dovi Gilberd
Dovtware Consulting Inc
Miami, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00233032
Message ID:
00234790
Vues:
30
Dovi,

If you're trying to compare the values in the fields, you need to change this line of code:

> if field(n)=upper(code)

If you're trying to evaluate the values of the fields, you have to do this:

> if eval(field(n)) = upper(code)

The way you had it, it would have just given you the name of the field and not the value inside; therefore, the if statement never would have evaluated to true. Have you tried turning on the debugger to get a closer look at what's going on?

What is happening when this function runs? How do you know it's not working properly?

By the way, this forum is here for developers to help one another. Unless you want someone to build an application for you, I don't think anyone on this forum expects any payment for the help they offer. Hope this helps you out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform