good day,
database programming and logical problem.
for instance:
i got 3 tables. table 'Companies', table 'Branches' and table 'departments'
from companies table (Primary), linked by company code to enter the branch table, the branch has many department linked by branch code to department table.
the problem comes when 1 branch in a company, (apart from it's departments)is also a company on it's own, with smaller branches,
meaning i have to copy the branch dets also to company dets in another row of data not relating to the company it is in.
how do i copy the branch name, number,... to the company table.
by theory it works, put it up for testing, i got nowhere,
i need that programming minds, thanks