posted 18 years ago
Hi there Shashi,
There are a couple of things that may be involved.
First, 'Forms(0)' would refer to a function, Forms(), which is taking an argument, 0.
What you need to refer to, is the array containing all forms in the page. To dereference the array, you need to use brackets:
Forms[0]
Also, I don't know on your system, but on mine, Forms[0] doesn't exist. I need to refer to it using all lower case:
forms[0]
But from experience, case-sensitivity may vary from platform to platform.