dblayout
|
| Posted: 07/06/2003, 12:22 PM |
|
I am using ASP. I am trying to check the value of a textbox in my Search criteria before the page is displayed so I can know wether to hide my Grid or not. I am using response.write vValue.Value (the textbox is a variable called vValue) to try & debug. When I try this code, it errors as "Variable is undefined: 'vValue'". I am placing this code in the BeforeExecuteSelect (Server) custome code in the Grid. What am I doing wrong?
|
|
|
 |
alice
|
| Posted: 07/06/2003, 2:55 PM |
|
have you a line...
Dim vValue
??
|
|
|
 |
dblayout
|
| Posted: 07/06/2003, 6:37 PM |
|
I didn't realize I needed ti mDIM my variable since it is already being defined (I thought) by the TextBox. This variable is being used in my SQL just fine. Where do I DIM the variable at, in the Initialization code?
Thanks for the help with this.
Chris
|
|
|
 |
|