how to load data for tables having parent child relation using CI
Forum » Forum / Comments » how to load data for tables having parent child relation using CI
Started by: rajsekharpsoftrajsekharpsoft
On: 1271069496|%e %b %Y, %H:%M %Z|agohover
Number of posts: 2
rss icon RSS: New posts
Summary:
how to load data for tables having parent child relation using CI
how to load data for tables having parent child relation using CI
rajsekharpsoftrajsekharpsoft 1271069496|%e %b %Y, %H:%M %Z|agohover

can any one plz help with this
hai i have two table like ,dept_tbl(deptid,dname) and empl_tbl(deptid,emplid,ename,loc) how do i load data into these tables using CI, how do i resolve parent child relation ship while loading data using CI.

Reply  |  Options
Re: how to load data for tables having parent child relation using CI
PrajPraj 1271191977|%e %b %Y, %H:%M %Z|agohover

Your component should take care of the relationship between your records using an appropriate parent-child scroll level structure. E.g. dept_tbl at level 0, empl_tbl at level 1 or something along those lines.

A component interface takes the record-scroll relationships from the component it is based off. So, in order to get the data load working, you need to find or create a component that has the parent-child structure you need and create a CI off that.

Reply  |  Options
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License