
March 15th, 2004, 08:14 AM
|
 |
Contributing User
|
|
Join Date: Jan 2004
Location: Canada
Posts: 60
Time spent in forums: < 1 sec
Reputation Power: 5
|
|
|
Deleteing records with related tables
Hello once again.
I seem to be getting this annoying error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] The record cannot be deleted or changed because table 'tblMovieActor' includes related records.
/deleteentry.asp, line 3
The record is related to a junction table ( tblMovieActor ).
I have to delete the relation between the Movie and the Actor before I delete the movie, but I don't know how to querey the database and delete the relation.
Can someone help out?
__________________
 Genki Dave
|