I have 2 tables Inventory & Tracking
Inventory has Inv_ID, Serial, Model, Active
Tracking has Track_ID, Serial, Model, Date_In, Date_Out, Active
The two table have master / child relationship - With Inventory Master, and Tracking Child using the Serial Field
( No Relationships) I have created a "CUSTOM VIEW" of Inventory Database Called Active Inventory.
( No Relationships) I have created a "CUSTOM VIEW" of Tracking Database called Allocate.
I am trying to accomplish two things:
On the Custom View called Active Inventory - Its only the list page with a query for all records that have a "1" in the Active Field
- I would like to display the field called "Serial" as a link, than when clicked it will open the "Add Page in Tracking" and Auto Populate the "Serial" field with the Value that was in the "Serial" field on the Active Inventory List page that was clicked.
- On the ADD PAGE of Allocate, I want to create a check box that will Take Value of Active Field and Update the Active Field in Table Inventory Based on the "Serial" since this is they Table Key in Table Inventory - I would like it to process after record is added.
I am slowly learning MYSQL and PHP so anyone that can help me, I would greatly appreciate help or where to look for information to accomplish this.