Showing posts with label wrong. Show all posts
Showing posts with label wrong. Show all posts

Monday, March 26, 2012

Parameter entered has the wrong format.. you must be ....me!

Hi

I have the problem that the below defined paramter gets entered in the database as a interger. the Field in the DB is a nvarchar(5) and the controll that suplies the value is a TextBox

this is the parameter definition:
<asp:ControlParameterControlID="tbComment"Name="Comment"PropertyName="Text"Type="String"/>

Why do I get this error, why does ASP to whant to make an integerfrom this text field? When putting a interger value in the textbox all works well and the data gets posted to the database.

I use aSqlDataSource with automatic generated script.

look forwart to a solution

walter

Do you use a stored procedure or ...? make sure the parameter (comment) is not passed to a parameter of type int.

Friday, March 9, 2012

Paging & Visibility?

I have been trying to figure out why paging was not working on my
reports. I checked the report layout and could find nothing wrong.
Then I started turning off "features" and found that if I use this
statement in the Table Visibility box
"=IsNothing(Fields!CampaignMasterName.Value)" (w/o quotes) that paging
is completely turned off.
Why does this affect my paging? I use this statement so that nothing
is shown on startup of report, headers/footers. Any solutions would
be appreciated.Any conditional visibility disables page breaks. We hope to make
expression-based conditional visibility (but not toggle-based conditional
visibility) compatible with page breaks in some future version.
--
This post is provided 'AS IS' with no warranties, and confers no rights. All
rights reserved. Some assembly required. Batteries not included. Your
mileage may vary. Objects in mirror may be closer than they appear. No user
serviceable parts inside. Opening cover voids warranty. Keep out of reach of
children under 3.
"Stoma_Kalos" <fzuma@.yahoo.com> wrote in message
news:e876e3c8.0407200612.238843d0@.posting.google.com...
> I have been trying to figure out why paging was not working on my
> reports. I checked the report layout and could find nothing wrong.
> Then I started turning off "features" and found that if I use this
> statement in the Table Visibility box
> "=IsNothing(Fields!CampaignMasterName.Value)" (w/o quotes) that paging
> is completely turned off.
> Why does this affect my paging? I use this statement so that nothing
> is shown on startup of report, headers/footers. Any solutions would
> be appreciated.