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
Titre:
VFP 5.0 - Tastrade Error
Divers
Thread ID:
00042195
Message ID:
00042195
Vues:
92
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 ? José Augusto Cavalcanti Global Connection jcavalcanti@ax.apc.org
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform