Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type mismatch
Message
De
31/08/2004 09:44:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00935887
Message ID:
00937992
Vues:
21
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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform