For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2007 > Re: [PEAR] master/detail form with FormBuilder









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] master/detail form with FormBuilder
Justin Patrin

2007-03-27, 7:03 pm

On 3/27/07, Gian Luca Ziosi <gianlucaziosi@tiscali.it> wrote:
> Hi to all.
> I use PEAR and FormBuilder from little time.
> You could indicate to me how to creating a form/subform with FormBuilder
> for editing a record and a group of record of one linked table?
>
> Sample tables:
> +----------+ +-----------------+
> | orders | | order_details |
> +----------+ 1 +-----------------+
> | order_id |<--+ | detail_id |
> | customer | | | product_code |
> | ... | | N | ... |
> +----------+ +--<| order_id |
> +-----------------+
>
> Sample form:
> +------------------------------------+
> | FORM TITLE |
> +------------------------------------+
> | |
> | Order ID: ____ |
> | Customer: _______________________ |
> | ........: _______ |
> | |
> | Order details: |
> | +--+----------+-------------+----+ |
> | |ID| Code | Description |Q.ty| |
> | +--+----------+-------------+----+ |
> | | 1| xyz | qwe | 6| |
> | | 2| abc | rty | 12| |
> | |__| ________ | ___________ | ___| |
> | +--+----------+-------------+----+ |
> +------------------------------------+
>


Are you asking if you can have a table of editable records? This isn't
something that FB does right now. It does have support for crossLinks
with extra fields.

> Sorry for English.
> Thanks.
>
> PS: where I can post in Italian?
>




--
Justin Patrin
Gian Luca Ziosi

2007-03-28, 4:03 am

Justin Patrin ha scritto:
> On 3/27/07, Gian Luca Ziosi <gianlucaziosi@tiscali.it> wrote:
>
> Are you asking if you can have a table of editable records? This isn't
> something that FB does right now. It does have support for crossLinks
> with extra fields.
>

WOW, that speed!
No, i have not explained.
I meant, which it is the better or most diffuse practice for create a
form of this type?
Does exist a Package for edit a group of record in a table format?
Or a "design pattern" that does address this case, datum that is very
frequent?
It always must make all manually?
Thanks again..
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com