Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data type mismatch
Message
From
25/08/2004 21:59:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/08/2004 21:54:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936467
Message ID:
00936468
Views:
26
>This is obviously just a piece of the code but, when it hits this area I receive this error "data type mismatch". The column a.split_in is a character, but I need to use this in order to run my calculation.
>
>
>select iif(a.split_in="Y",a.price*a.catchweight,"")as T
>
Use the debugger to check the data type of each of the following:

a.split_in (should be "C")
a.price (should be "N")
a.chatchweight (should be "N")
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform