| Gian Luca Ziosi 2007-03-27, 7:03 pm |
| 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| |
| |__| ________ | ___________ | ___| |
| +--+----------+-------------+----+ |
+------------------------------------+
Sorry for English.
Thanks.
PS: where I can post in Italian?
|