Arg81
Well-known member
OK I'm really confused atm!
I haven't done any programming for a month or so, things are starting to get rusty
I have 3 tables, and these are the primary keys in each:
TableA: OrderNo
TableB: StockNo, OrderNo
TableC: LineNo, OrderNo, StockNo
When I add a new row to TableB after adding a row to TableA, it cascades OrderNo OK, and I can set the StockNo.
When I add a new row to TableC after adding the row to TableB, it doesn't pull across the OrderNo and StockNo.
(a) Yes I have pulled across the correct relation (grandfather -> father -> child)
(b) I've checked both relations and they have the same settings.
(c) I've checked the relationships on the SQL server and they have the same settings.
when I add the rows, all I simply do is:
bindingsource.endedit()
bindingsource.addnew()
I think this is one of those silly questions, but I can't for the life of me work it out.
Any help appriciated!
I haven't done any programming for a month or so, things are starting to get rusty
I have 3 tables, and these are the primary keys in each:
TableA: OrderNo
TableB: StockNo, OrderNo
TableC: LineNo, OrderNo, StockNo
When I add a new row to TableB after adding a row to TableA, it cascades OrderNo OK, and I can set the StockNo.
When I add a new row to TableC after adding the row to TableB, it doesn't pull across the OrderNo and StockNo.
(a) Yes I have pulled across the correct relation (grandfather -> father -> child)
(b) I've checked both relations and they have the same settings.
(c) I've checked the relationships on the SQL server and they have the same settings.
when I add the rows, all I simply do is:
bindingsource.endedit()
bindingsource.addnew()
I think this is one of those silly questions, but I can't for the life of me work it out.
Any help appriciated!