Delete button wont work

Rockape

Registered User.
Local time
Today, 23:23
Joined
Aug 24, 2007
Messages
271
Hi all,

I've checked the forms forum for a similar thread.

I have a form which reads off a table A. I have a delete button on the form but it wont delete the current record on the form.

Table A is related to another table.

I'm using A97 ...any clues anyone!

thanks
 
Thanks... I have checked..


My problem seems simple enough and yet I cannot figure it out. However it points to the fact that the contents of the field I want to delete is related to the another table.

Many thanks...
 
What code are you using for the delete button, and what happens when you press it? Nothing? An error message? If so, what exactly does the message say?

Linq ;0)>
 
Thanks for replying,

Nothing happens. It just wont delete. I used the wizard to delete the record.

Thanks again




What code are you using for the delete button, and what happens when you press it? Nothing? An error message? If so, what exactly does the message say?

Linq ;0)>
 
You will need to set cascade deletes on the relationship for it to be able to delete the record and its associated child records.
 

Users who are viewing this thread

Back
Top Bottom