Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DAta type mismatch on bizobj
Message
 
À
12/03/2003 16:59:08
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00765152
Message ID:
00765200
Vues:
21
>Hi all - My project has been in VFP 7.0 and just moving it to vfp 8.0. I went to add a view to a bizobj and am getting a data type mismatch after saving the cahnged bizobj. Using
>Stonefield 6.1 and I have validated all meta data. Am I missing something. Thanks much
>
>Tom

Yeah, it's a behavior difference between VFP 7 and VFP 8 - a few of us have run into this already. Open the UTILITY.PRG file and change the CharValue function to this:
FUNCTION CharValue(tuExpression)
   IF VARTYPE(tuexpression) == "O"
      lcRetVal = ""
   ELSE  
      lcRetVal = TRANSFORM(tuExpression,"")
   ENDIF
   	
   RETURN lcRetVal
ENDFUNC
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform