Okay I have a “list” view that contains a package inventory stored in a
table called addpackages. Attributes include fname, lname,
packagetype, email, phone, etc.
Here’s what I’ve done already:
- When you click the last name of a person in the list view simulating
they are picking the package up, you go to my custom edit view.
- Here is my custom edit view:
User must enter initials to claim package:
- This all works fine for getting the signature in the addpackages
table. What I would like to do at this point is copy a few
attributes(lname, fname, signature, phone) to a table called receipts?
I’ve already created a relationship between addpackages and receipts, I
just need help with coding behind this operation. I figure I would
perform this operation in the addpackage controller under “def edit” but
I really need a kick start to coding this or someone to tell me this is
the correct way to do it.
Help will be greatly greatly appreciated!!!
-Tony