Hey there. Not being a programmer I am really hoping someone can help with the following.
I am trying to create a order entry process and have 4 tables - so_header and so_details (master-details set up), parts, users
so_header has the following fields - order_no, raised_by, date, customer
- Can I can populate raised_by based on the user logged in?
- Can date be populed with the current date?
- Can customer be populated automatically - the users table has a field called customer which restricts this user to see this customer only.
- When I click "save" in the "add new" screen can I be taken to the so_details add screen? I have managed this with an after record added event to take me to sor_details add.php but the master key is not held for the sor_header just created and populates order_no with zero.
so_details has the following fields - line, order_no (link back to header), part, description
- is there any way to do a search on part table to populate this? I have 1000 parts so a dropdown does not work well for this?
- Can description be populated based on part selected?
Sorry to ask so many question but I thought easier to explain exactly what I am trying to achieve - many thanks.