custom code
I am new to this. When I try to call the Function, it does not show up in the list after I type Code. =Code.calcZeros(Fields!offenderCount.Value) Public Function calcZeros(ByVal s As String) As String Return "0" End Functionwww.helixpoint.com
November 9th, 2010 3:11pm

I believe thats normal, just execute your report and see if it works.
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2010 3:40pm

Hi, Based on my testing of the custom code and the expression you posted, it always returns "0" and shows in the textbox in which specifid the expression. However, since it does not show up in your report, could you please post the current result and the error message if exists. Currenly, in order to check if the custom code works, we can use a textbox control and specify the expression =Code.calcZeros(nothing) it. If it works, please also post more details about the dataset and the control need to use the function. Thanks, Tony ChainPlease remember to mark the replies as answers if they help and unmark them if they provide no help
November 14th, 2010 6:29am

Hi, Based on my testing of the custom code and the expression you posted, it always returns "0" and shows in the textbox in which specifid the expression. However, since it does not show up in your report, could you please post the current result and the error message if exists. Currenly, in order to check if the custom code works, we can use a textbox control and specify the expression =Code.calcZeros(nothing) it. If it works, please also post more details about the dataset and the control need to use the function. Thanks, Tony ChainPlease remember to mark the replies as answers if they help and unmark them if they provide no help
Free Windows Admin Tool Kit Click here and download it now
November 14th, 2010 6:29am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics