Formatting Parameters

  • I have a report that includes a simple Start ID and End ID range that I prompt the user. The ID value in the database is string with zero padding. If it were a VB.NET interface I would simply pad the user entered value before I built the SQL string.

    I wrote a simple function in the report's code properties. I would like to replace the value of the user entered parameter with the "padded" value so the padded value is used in the SQL statement.

    Does anybody have any experience with this?

  • If you are using stored procedure then you can format your parameter (start id and end iD) as you like and then use into SQL code.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply