Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field and Record validation with DBC Rules
Message
De
22/11/2001 06:06:59
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
22/11/2001 05:49:45
Sam Trenchard
System Support Services
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00584837
Message ID:
00584843
Vues:
31
Hi Sam take a look to the ADBOBJECTS funtion and also the DBF function with this 2 you can get all the information that you whant.

>I am trying to manage field validation on a form where the underlying DBC has field rules. I find that the rule fires before the valid method and does not seem to give any opportunity to intercept the error condition. The standard message offers a Revert option but does not refresh the control so the user
>has to re-enter the correct data.
>Related to this issue. I have tried using a local view for the datasource and calling a fieldvalidate method which uses DBGETPROP calls to fetch the ruleExpression and RuleText for the underlying fields/record. This seems to work OK but I am still trying to determine what type of datasource I have -
>Table, Localview or Remoteview. Is there a function call which returns this information for a given alias()?
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform