This topic is locked

master detail copy

1/9/2008 6:16:30 AM
PHPRunner General questions
G
garethp authorDevClub member

PHP RUNNER 4.1 BUILD 320
Hvae searched hard but can not find anything to help...
I have 2 tables
parts (master) with fields part, description

BOM (details) with fields record, part, component, qty (Bill of Materials)
linked on part
Is a way to copy the master and detail of a particular part to save inputing the BOM again for a new master part - this would have a new part number in the part and BOm tables but the component and qty would be the same in the BOM table.
Hoping someone can help because this would save me a lot of time.
Thanks in advance
Gareth

J
Jane 1/9/2008

Hi,
to fill fields on the add page with predefined values set up default values for these fields on the "Edit as" settings dialog on the Visual Editor tab.

Use $_SESSION variables for this purpose.