Skip to Content
0
Former Member
May 09, 2013 at 05:28 PM

Parameter Field values will not print

26 Views

I have built several reports that get data from SQL Server stored procedures with parameters such as @Date_Begin and @Date_End. The record selection works correctly so I know the parameter values are good. I need to print the parameter values in the page header and have not succeeded.

I've tried two ways.

First, I drag the parameter field onto the page header. The report is all good but the parameter does not appear.

Second, I put the parameter in a formula field. This gives an error:

This field name is not known. Details: errorKind Error in File rptAccessList {B8ED5286-CEDF-46AC-AF3B-D2AAE78B9883}.rpt: Error in formula begindate: '"Begin " + {?@Date_Begin}' This field name is not known. Details: errorKind

The parameter values appear correctly in the VS designer preview but fail when I run the application.