-1

エラーがあります: Tablix Group23 の非表示の式にエラーが含まれています。入力文字列の形式が正しくありません

私はこれを作成しておらず、その場所に慣れていないため、すべてを修正する必要があります。
ここに隠された表現があります

="Your screening results..." +VBCRLF+VBCRLF+"•  Your Body Weight was :" & (Fields!weight_loss.Value) & "lbs" 
+ VBCRLF+ "•  Your Body Mass Index (BMI) , which is based on your height and weight, was:" & (Fields!bmi.Value)& " " & "[Healthy Range: 18.5-24.9]"
+VBCRLF+ "•  Your waist circumference was:" & (Fields!waist.Value) & "inches." & "[Healthy Range:]" &IIF(Fields!gender.Value="M",35,40)
+ VBCRLF+ "•  To be in the healthy BMI range , your recommended weightshould be between " & (Fields!goal_wt_low.Value) & "and" &(Fields!goal_wt_high.Value) & "lbs." & "You told us that.." +VBCRLF+VBCRLF+
"• With regard to weight loss," & IIF(Fields!weight_loss.Value=1,"you are satisfied with the way you are now and have no desire to change.", IIF(Fields!weight_loss.Value=2,"•  you have considered making healthier choices."
, IIF(Fields!weight_loss.Value=3,"you have seriously considered making healthier choices and are ready to make a change.",IIF(Fields!weight_loss.Value=4,"you have started making healthier choices."
,IIF(fields!weight_loss.Value=5,"you have already made changes for a healthier lifestyle and are trying to maintain them.",IIF(Fields!weight_loss.Value=99,"you are not sure how satisfied you are with your current body weight.",nothing))))))
4

2 に答える 2

2

これは大量のデータですが、問題はおそらく非常に単純だと思います。これらのデータ型の 1 つが文字列の型ではなく、データベースの varchar/nvarchar ではないに違いありません。基本的には、「あなたがキャストするまで、数字を含む文字列に追加することはできません」と述べています。

Fields.(thing).Value 式の周りに CSTR( ) を追加して、それらを文字列としてキャストするだけでよいと思います。この後もまだ爆撃している場合は、一度に 1 つずつ試して、最初の式以降のすべてを削除します。

于 2013-04-15T17:19:50.413 に答える
0

文字列値は、非表示式に必要なブール値の応答ではないと思います。Hidden には、True と False の 2 つの許容可能な答えがあります。文字列式は、ブール値の応答に評価されることはありません。

于 2013-09-18T15:32:50.417 に答える