Render Message
Wim Ardon
Hi Philipp,After a heavy loaded week, I'm coping with an error which I can't resolve.... I guess it is caused by the content of the data. It worked well this morning and now it doesn't work anymore!
Could you please have a look at the attached document and give me a clue....if you got one?
Many thanks
Attachment
[url=http://www.coresystems.ch/wp-content/../wp-content/forum-file-uploads/wimardon/textBox35 probleem.doc]textBox35 probleem.doc[/url]
Philipp Knecht
Hi WimThis is most likely because one of your values which you get with GetData("...") has a Null Value.
So the easiest way to resolve that is to use Data("...") instead of GetData("...") then the Null Values gets transalted automatically to "" or 0 depending on the Type.
hth
Wim Ardon
Hello Philipp!Thanks for your quick reply!
If changed the code in order to eliminate the GetData(), but I still get that same error.
I even changed the code like this:
textBox35.Value = " "
If DocumentRow("RowRowItemGroup.ItmsGrpCod") = 101 Then
textBox35.Value = "Afm: " & LD.FStr(IIF(IsDBNull(DocumentRow("U_Lengte")),0,DocumentRow("U_Lengte")), "#0") & " x " & LD.FStr(IIF(IsDBNull(DocumentRow("U_Breedte")),0,DocumentRow("U_Breedte")), "#0") & " x " & LD.FStr(IIF(IsDBNull(DocumentRow("RowRowItems.U_Dikte")),0,DocumentRow("RowRowItems.U_Dikte")), "#0") & " mm. Aantal platen : " & LD.FStr(IIF(IsDBNull(DocumentRow("U_AantPlaat")),0,DocumentRow("U_AantPlaat")), "#0.##")
End If
but still gets the same error-message. I really don't know where to look for a solution! It must be the content of the rows as I get this error message not always!
Please have a look at it....
Many thanks in advance!
Best regards,
Wim
Wim Ardon
Hi Philipp....I found the solution!
The script was entered in Bindings / Value. Now I've moved it to Properties / Generate Script and the errors disappeared.
Sorry for asking these questions....
Best regards!
Wim
0
Please sign in to leave a comment.
Comments
0 comments