G
Guest
Hi - first post and not quite sure which board to post to as it involves
windows forms and data access .... sorry if wrong one chosen!
I am developing a database project for my small vehicle trading business,
and thus have a cars table and (among others) a colours table. I use a combo
box as a look up to pick a colour for a car and all works well .... until I
want to add a new colour to the colour table and at the same time select this
new colour as the one relevant to the current car. I add the new colour to
the colour table by calling a stored procedure and sure enough the new colour
is stored. But when I save the new record the old colour is the one STILL
associated with that record.
I have tried playing around with lots of things but can't get the behaviour
I want. I hope I've explained my problem clearly, any help greatly
appreciated!!! Dave
windows forms and data access .... sorry if wrong one chosen!
I am developing a database project for my small vehicle trading business,
and thus have a cars table and (among others) a colours table. I use a combo
box as a look up to pick a colour for a car and all works well .... until I
want to add a new colour to the colour table and at the same time select this
new colour as the one relevant to the current car. I add the new colour to
the colour table by calling a stored procedure and sure enough the new colour
is stored. But when I save the new record the old colour is the one STILL
associated with that record.
I have tried playing around with lots of things but can't get the behaviour
I want. I hope I've explained my problem clearly, any help greatly
appreciated!!! Dave