Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal and VFP values
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00902593
Message ID:
00902613
Vues:
15
You're a genius!!!

Thanks! That was the problem - never would have figured that out on my own...

>What *exactly* are the values? 2? 2.0? There could be an issue with decimal places. What happens if you do
>
>lnBegPage = INT(thisform.txtBegPage.value)
>
>
>>I've run into this before and was able to work around it - but - this time can't find a suitable workaround...
>>
>>If I do this:
>>
>>lnBegPage = 2
>>lnEndPage = 2
>>oRpt.PrintOut(.F.,1,.F., lnBegPage, lnEndPage)
>>
>>everything works as it is supposed to...
>>
>>If I do this:
>>
>>lnBegPage = thisform.txtBegPage.value
>>lnEndPage = thisform.txtEndPage.value
>>oRpt.PrintOut(.F.,1,.F., lnLtrBegPage, lnLtrEndPage)
>>
>>I get "OLE error code 0x80020005: Type mismatch."
>>
>>The values of thisform.txtBegPage and thisform.txtEndPage are numeric.
>>
>>Any ideas what's going on???
>>
>>Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform