Second DV View
Posted: 2013-05-13 18:40
Hi to all,
I have a table in my database named appointments and a table with existing client information, client_info.
My problem (aside from lack of PHP knowledge) is this:
When entering a new appointment record, I would like to be able to make a choice of New Customer or Repeat Customer.
If I select New Customer, I can then manually enter last_name, first_name, time etc and create/save the appointment to the appointments table.
If I select Repeat Customer, I can then select from a lookup field - drop down or auto complete the last name first, name fields and then address, phone number, etc gets auto-filled - all from the client_info table.
I see it as two different ways to enter an appointment record into the same table
When I'm in appointments table view I have a button to Add New. Maybe a second Add New(2) button could could be created, one taking you to the manual data entry Detail View and the second taking you to the lookup/auto-fill version.
Any help is greatly appreciated!
Thanks in advance.
Richard
I have a table in my database named appointments and a table with existing client information, client_info.
My problem (aside from lack of PHP knowledge) is this:
When entering a new appointment record, I would like to be able to make a choice of New Customer or Repeat Customer.
If I select New Customer, I can then manually enter last_name, first_name, time etc and create/save the appointment to the appointments table.
If I select Repeat Customer, I can then select from a lookup field - drop down or auto complete the last name first, name fields and then address, phone number, etc gets auto-filled - all from the client_info table.
I see it as two different ways to enter an appointment record into the same table
When I'm in appointments table view I have a button to Add New. Maybe a second Add New(2) button could could be created, one taking you to the manual data entry Detail View and the second taking you to the lookup/auto-fill version.
Any help is greatly appreciated!
Thanks in advance.
Richard