Home » Developer & Programmer » Forms » no data found / primary key violation exception handling
no data found / primary key violation exception handling [message #87776] Wed, 09 February 2005 21:25 Go to next message
Abhishek
Messages: 10
Registered: January 2004
Junior Member
hi,

i am working on a web site with ASP (VBScript as explicit) as front end and access as the back end. i am facing 2 problems

A> i call a record set by passing on the query 'rs.Open "Select * from CSAT1 where mname='"&mname&"' order by rdate",conn'. this gives me an error if no records are found. how do i handle this exception by passing on a value to a variable which recognises that no records were found?

B> in the same site if i try to enter data and there is a primary key violation it gives me a error. how do i handle this error message?

thanx
Re: no data found / primary key violation exception handling [message #87784 is a reply to message #87776] Thu, 10 February 2005 23:40 Go to previous message
Frank
Messages: 7901
Registered: March 2000
Senior Member
ASP as frontend and Access as backend.
Sure, post your question in an Oracle Forms forum...
Previous Topic: sql error ora-00604
Next Topic: Translation builder
Goto Forum:
  


Current Time: Thu Sep 19 13:47:21 CDT 2024