Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data type mismatch
Message
From
31/08/2004 09:44:12
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00935887
Message ID:
00937992
Views:
22
Hi Khubaib,

the more I look at your code, the more I think that you must go back to the drawing board. For example the line
c3=LEFT(ALLTRIM(CHRTRAN(examcode,"0123456789","")),3)
strips out all the numbers from c3, which means that your Rep2 function will always fail unless the input is "annual". Since you don't have any OTHERWISE in the function, it will return .F. for most values, which is the source for your "Data Type Mismatch".

So, you must go back to the drawing board, sorry!

>hi Tore,
>I have still message "Data Type mismatch"
Previous
Reply
Map
View

Click here to load this message in the networking platform