--- In [EMAIL PROTECTED], Chintan Shah <[EMAIL PROTECTED]> wrote:
hi my friend

you have an error in your command structure.

for example if your parameter field in crystal report is an integer 
you have to use followed command.

crystalreport1.parameterfield(1).addcurrentvalue CInt(text1.text)

i hope you can use it.

if you have another question about this please send me your question.

but now i will go to a trip and i will back next week.

bye

Mohsen Hakimi


>  
> Hi friends,
>  
> I've created a stored procedure with 2 input parameters.
> I'm using it in Crystal Reports 8.5. In preview, the report gives 
me proper output. But in VB while defining parameters for report it 
gives me error :
>  "Invalid Parameter Name"
>  
> My syntax is :
> 
> CrystalReport1.ParameterFields(1) = "@mrnfrom='" & txtStartFrom 
& "'"
> 
> CrystalReport1.ParameterFields(2) = "@mrnto='" & txtUpto & "'"
> 
> in this @mrnfrom, @mrnto are my input parameter names for stored 
procedure. And txtStartFrom, txtUpto are text boxes on form.
> 
> NOTE : I'm using stored procedure
> 
> Am I going the right way? Pl. help me
> 
>  
> 
> 
> 
> Regards,
>  
> Chintan Shah
> 
> Yahoo! India Matrimony: Find your life partneronline.
> 
> [Non-text portions of this message have been removed]




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~-> 


'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [EMAIL PROTECTED]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to