Hi All,
I am evaluating PHPRunner, and so far, it seems to be a great product. Having worked thru many of the simpler tests, I now come upon a more difficult (at least for me) topic, which is working with master detail records. Let me explain...
I am working with the latest version of PHPRunner, and mySQL 4.1
I have a single table that contains order records, with the following (abbreviated) structure...
id, orderNbr, firstName, lastName, lineNbr, partNbr, desc, qty
an order can contain multiple line items. if there are 3 line items, there will be 3 records in the table.
The orderNbr, firstName and lastName will repeat in each record, for each line item on the order.
The lineNbr, partNbr, desc and qty are unique to each line item.
Here is an example...
123 Fred Flintstone 1 ABC123 Big Part 23
124 Fred Flintstone 2 DEF321 Engine 1
125 Fred Flintstone 3 ZZZZZ9 Wheel 8
126 Barney Rubble 1 ABC123 Big Part 4
127 Barney Rubble 2 YYYYY8 Rock Hammer 2
I would like to develop a page (or maybe pages), where the user is presented with the 'header' information for an order, then can edit the individual line items, all displayed in a grid. I want to allow the user to edit the header information, with the final result that all of the associated detail records get updated, too. The addition of a detail record should result in the new detail record being updated with the header information, too. Deleting records should result in all associated order records being deleted.
I really like the demo where there was a pop-up window where the users could see detail records associated with the header record being viewed.
I am open to any suggestions, ideas or comments!!
thanx,
ron