Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORA-01403 No Data Found

Status
Not open for further replies.

mitch77

Programmer
Nov 16, 2000
42
0
0
PT
Hi,
Why the following error appears??
ORA-01403 No Data Found

I am develope an application, using ASP.

This is a sample code:

Set OraInsert=Database.dbCreateDynaset("Select * from Contactosclientes",cint(0))
Database.LastServerErrReset
On error Resume Next
Orainsert.AddNew
OraInsert.Fields("id").value = id OraInsert.Fields("name").value = name
OraInsert.Fields("age").value = age OraInsert.Fields("phone").value = phone
OraInsert.Update

Thanks, Mitch
 
I'm not an ASP Person but you normally get this error when you expect to retrieve data but don't for example you reteive a record to edit but none is found matching your query criteria. In you r example if you log on to the DB via sqlplus and execute your query 'Select * from Contactosclientes' do you get any rows back? the error message seems to suggest that you wouldn't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top