Hi,
I have a problem crating a form that can call itself. Let 's say I have a table with fields id;parentid;term;termkind. (something like geographic terms: 1;null;USA;country and 2;1;Ohio;state, according to me a standard recursive tablestructure which tells you that Ohio is a state in the country USA)
For this I need a form with one editbox for term and one combobox for selecting the parent. Apart from that I need a button to add a new term if for instance I want to add "North America" as continent and as parent of USA, when I am in the record of Ohio. So this button should call the same form and if I am in that form and I want to add the world as planet I should be able to open the form again and again and again. After closing the form I should go back to Usa and that back to Ohio.
In delphi and in foxpro this is no problem. But in access (I'm using 2007) I can't figure this out and googling didn't give me an answer. Any help?
I have a problem crating a form that can call itself. Let 's say I have a table with fields id;parentid;term;termkind. (something like geographic terms: 1;null;USA;country and 2;1;Ohio;state, according to me a standard recursive tablestructure which tells you that Ohio is a state in the country USA)
For this I need a form with one editbox for term and one combobox for selecting the parent. Apart from that I need a button to add a new term if for instance I want to add "North America" as continent and as parent of USA, when I am in the record of Ohio. So this button should call the same form and if I am in that form and I want to add the world as planet I should be able to open the form again and again and again. After closing the form I should go back to Usa and that back to Ohio.
In delphi and in foxpro this is no problem. But in access (I'm using 2007) I can't figure this out and googling didn't give me an answer. Any help?