|
-
Oct 20th, 2001, 08:54 AM
#1
Thread Starter
PowerPoster
deleting a record from the database
I get an error message when I try to delete a record from an access made table.
I am using "Biblio.mdb" and whenever I try to delete a record, it gives me the following record:
The record cannot be deleted or changed because the table "Titles" include related records.
-
Oct 20th, 2001, 09:03 AM
#2
Thread Starter
PowerPoster
-
Oct 20th, 2001, 09:22 AM
#3
Thread Starter
PowerPoster
-
Oct 20th, 2001, 09:39 AM
#4
-= B u g S l a y e r =-
Open the database in access, and look at the relationships.
There will be relation between the Titles table and one or more other tables.
What vb is telling u is that u have to delete all the records in the related tables before u can delete the record in question.
-
Oct 20th, 2001, 09:56 AM
#5
Thread Starter
PowerPoster
So, it means that it depends on the type of database?
Do you have any link to other .mdb database that I can use to just create a simple database example program(Add,delete,search,sort,filter records)?
-
Oct 20th, 2001, 10:51 AM
#6
-= B u g S l a y e r =-
Originally posted by abdul
So, it means that it depends on the type of database?
Do you have any link to other .mdb database that I can use to just create a simple database example program(Add,delete,search,sort,filter records)?
It depends on how the relationships (if any) has been built.
I seldom use it, because of this 
I u have Access installed, u can just create one, or just remove the relationships in the biblio db or delete the related records before u delete the recs in the table in question.
Or I can mail u a db with some data in it, for u to test on
-
Oct 20th, 2001, 11:07 AM
#7
Thread Starter
PowerPoster
Actually, I have vb6.0 pro and I am using access 2002. Will vb version be compatible with access xp database?
-
Oct 20th, 2001, 11:11 AM
#8
-= B u g S l a y e r =-
I think so... never tried the XP-version though.. but i think eiSecure did it a while back.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|