
Isaac
|
| Posted: 03/10/2003, 8:16 AM |
|
ccs 1.0.7, using PHP and MySQL
One_list
One_maint
(eg Order_ or Project_ )
many_list
many_maint
(eg Item_ or Task_ )
I see my order list, click on order #1, and go to the order_maint screen to edit. There, I have an 'items' button, which takes me to the item_list with order #1 as the arg.
I'm having trouble getting the item list / maint to work correctly. If I click on Item # 4, items_maint.php?Order_ID=1&Item_ID=4, it goes to the item_maint screen with the order id properly filled in, but I'm not editing the item, it thinks I'm adding a new item.
Also, when I go to add a new item, the order # seems to get lost, and when I click the 'add' button, I go back to the items screen but see items for all orders.
Can someone help explain how to set up the properties / parms in CCS 1.0.7 to get this standard functionality working correctly, handling both the ID for the one file and the ID for the many file? (I also want to implement an Item Sequence number so that the order items on any given order start at 1 and count up.) Thanks!
|
|
|
 |
Isaac
|
| Posted: 03/10/2003, 1:32 PM |
|
Hey, for the archives: I might have found the explanation of this here
How to create Master-Detail forms in CodeCharge Studio
http://support.codecharge.com/kb_article.asp?s_keyword=...=&article_id=46
and/or
Creating Master-Detail Forms with Multi-field Primary Keys
http://support.codecharge.com/kb_article.asp?s_keyword=...=&article_id=66
|
|
|
 |
|

|