Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data type mismatch
Message
From
25/08/2004 22:42:47
 
 
To
25/08/2004 21:59:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936467
Message ID:
00936470
Views:
27
>>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")

... and I suppose that the last value in the IIF() should be 0, not blank.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform