Re: How to make One 2 many relationship when use remote view. by Dan
Dan
Thu Oct 26 11:00:57 CDT 2006
Remember the Rule #1 when using back-end data: bring down the smallest
number of records possible.
I'd do this with two updateable parameterized remote views, and no relation
at all. Your parameter will be the primary key for ONE parent record. Your
first view will bring one parent, and the second view will bring all the
children for that one parent.
For reporting, where you need more than one parent row, you can join
parent/child records in the view's SQL. Of course in this scenario you don't
need the view to be updateable.
There is considerable effort involved in making an 1-Many view updateable,
so leave that as a last resort.
And remember Rule #1, above. <g>
Dan
pwjargon2002 wrote:
> Dear all
>
> I 'm a newbies for use BackEnd Oracle. I was started develop
> accounting application by VFP9 for front end and Oracle 8i for
> BackEnd. Due to i no have exprerience about Oracle. Then i scare and
> no understatding how-to. My point is very clear : When you use foxpro
> table you can use SET RELATION to make an One 2 many relationship but
> How to do in Remote views? Please give me more detail suggestion and i
> hope to get answer as soon as possible.
>
> Best Regards,
>
> R. Prawit
> Bangkok/Thailand.