Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 - Tastrade Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00042195
Message ID:
00042291
Vues:
26
>Hi folks,
>
>I chose "Mastering Microsoft Visual Foxpro" CD and Tastrade sample application
> to start learning VFP.
>
>I thought using Tastrade classes to develop a small application (just for
> learning purposes).
>
>When I was checking how Tastrade handles Field Rules Validation I got an error.
>
>The steps :
>1 - Open the Employee form
>2 - Add a new record
>3 - Try to save this blank record
>
>Code :
>lcMessage = DBGETPROP(ALIAS() + "." + laError[3], "Field", "RuleText")
>lcMessage = STRTRAN(lcMessage, '"', '')
>
>Error :
>FUNCTION ARGUMENT VALUE, TYPE OR COUNT IS INVALID.
>
>Values :
>ALIAS() - EMPLOYEE
>laError[3] - "Last name cannot be empty."
>
>The code was waiting for a field name in laError[3], not the "RuleText" itself.
>Is this bug fixed in 5.0a ?
>
Nope, it's still there. I don't think they upgraded/tested Tastrade much in vfp5, I've seen at least one other bug. A more state-of-the-art project is the Solution in vfp5...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform