Hi Leif,
This is not a bug. The Delete key will only work if the RECORD is
selected
to select a record:
1. click in the gray record selector rectangle on the left
OR
2. press SHIFT-Spacebar when an entire control is highlighted (F2
toggles between insertion point and highlighting entire control)
OR
3. choose 'Select Record' from the ribbon
otherwise, to DELETE A RECORD, it is fastest to use:
CTRL -
(hold Control and press the minus sign)
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*

have an awesome day

*
Leif Andersson wrote:
I use the Delete-key to delete the record. Which is the normal way
to delete records. And this method is suppose to work.
And still - why doesn't it work in Access 2007 when it works fine in
Access 2003?
And therefor your other questions are also irrelevant
I AM ABSOLUTELY POSITIVELY SURE THAT MY SETTINGS ARE OK - AND IT IS
A BUG IN ACCESS 2007!!!!
PLEASE JUST DIRECT TO A HOTFIX.
:
Hi Leif,
you still have not described the method you are using to try to
delete the record
please also answer these questions:
1. is FormC form property AllowDeletions set to True?
2. is the RecordSource for FormC ONLY table C?
If the Recordsource is a query or SQL, please post the SQL statement
3. in the defined relationships for your database, is there a
relationship between tableB and tableC?
If so, which table holds the 'parent' field (double-click on the
link line -- which table is listed in the left column?) ?
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*

have an awesome day

*
Leif Andersson wrote:
As I mentioned in the start - it is a bug in Access 2007:
Because, when I run the Access-file with tables, that I have just
described, in Access 2003 there are no problems!
But how can I contact Microsoft to make them solve the problem -
whithout having to pay a lot of money contacting their support?
:
Hi Leif,
thank you for explaining how your tables are related. When you
try to delete a record in form C, how are you doing it?
is FormC form property AllowDeletions set to True?
is the RecordSource for FormC ONLY table C?
in the defined relationships for your database, is there a
relationship between tableB and tableC? If so, which table holds
the 'parent' field?
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*

have an awesome day

*
Leif Andersson wrote:
FormC (based on tableC) is inserted i formB (based on tableB) is
inserted i formA.
The field [idb<] in tableC is joined to the key field [idb] in
tableB.
FormC is linked to formB by Link Master fields = [idb] and Link
Child Fields = [idb<]
For Both formB and FormC Default View = Datasheet.
Then it is not possible to delete a record i sub-subfomC.
:
Hi Leif,
please post the "simple" solution that does not work that you
are using
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*

have an awesome day

*
Leif Andersson wrote:
I know that there are several options to solve the problem -
for instance by using code or to make the sub-subform to a
parellel linked subform.
But I want the simple solution, which is suppose work.
:
Hi Leif,
if you are in the code behind the main form, try this:
with me.subform_controlname.form.subsubform_controlname
.form.Recordset.Delete
.requery
end with
WHERE
subform_controlname is the Namep prperty of the subform control
subsubform_controlname is the Namep prperty of the
sub-subform control
Warm Regards,
Crystal
Access Basics
8-part free tutorial that covers essentials in Access
http://www.AccessMVP.com/strive4peace
*

have an awesome day

*
Leif Andersson wrote:
Microsoft Access 2007 wil not delete a record in a
sub-sub-form. I am sure that this is a bug in Access 2007. I
have tried to isolate the problem by creating a new database
with to simple related tables. And no code. Does anyone know
a hotfix?