Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Professional ADO 2.5 RDS Programming with ASP 3.0


Message #1 by "Phil Perks" <philp@w...> on Mon, 19 Jun 2000 22:3:26
----Original Message-----

From: Tamara Jenkins [mailto:tamara_jenkins@a...]

Sent: 19 June 2000 21:39

To: 'support@w...'

Subject: Professional ADO 2.5 RDS Programming with ASP 3.0-3242



Hello Wrox,



I recently purchased your "Professional ADO 2.5 RDS Programming with ASP

3.0", and I have found it to be one of the best computer books I've ever

owned.  Kudos to you and to John Papa!  



There is one piece of the RDS puzzle that I have not been able to figure

out.  I created a data bound table using RDS, and it works fine.  I allow

the user to select a start and end date, and they have  a few other 

options

with which to view the data.  There are two updatable fields out of a 

total

of 8 columns.  It works great, but I want to do  data validation on the

updatable fields.  In Oracle, the first updatable field will only accept 

'D' or 'N', and for the life of me, I can't figure out how to check it.



One of my attempts to conquer this problem was to create an OnChange event

for the textbox that checked to see if the value was 'D' or 'N'.  I refer 

to the textbox as frmRegRec.txtDup.value .  Before the table is created, 

the code recognizes this object.  Once the table is generated, it no 

longer

recognizes this object.  An error is generated that says, "Object does not

support this method or property".  How does RDS rename the textbox?  How 

can I get at it to check for values??  I also tried to error check before

updating, but once again, I can't get at the object to figure out the 

value

it contains.  Help!



I don't know if you can help me with this....any guidance would be great.

Thanks so much.





Tamara Jenkins


  Return to Index