Hi,Thanks for the reply.Can you please elaborate more... I am still not clear with the explanation.As I told I have dependencies on my drop down, where exactly these variables should be declared and if I have the whole form repeating with subforms embedded in it which is also repeating..Where exactl...