Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DAta type mismatch on bizobj
Message
 
To
12/03/2003 16:59:08
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00765152
Message ID:
00765200
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform