Skip to Content
0
Former Member
Jul 03, 2009 at 10:10 AM

Block Variable not set

23 Views

Hi Members,

I have designed a report for inventory transfer using crystal report.

The series in inventory transfer is defined as 18. when I try to obtain the series value /description with the following coding.

I get an error while obtaining the series number as "Block Variable not set"

If the series name is in alphanumeric (eg HQ-CIM) , it does not produce any error.But when the series name is given in numbers(eg 18), I get the error.

this is a sample of my coding

 if objApplication.Forms.ActiveForm.Items.Item("40").Specific.SELECTED.DESCRIPTION = "HQ-CIM" then 

Can anyone give me a solution to resolve this error?