G
Guest
First of all i'll give you a run down of my table structure:
tblClient - ClientID, Client name, Address, Phone
tblProject - ProjectID, Project Name, ClientID(from tblClient), Description
tblSubProject - SubProjectID, SubProjectName, ProjectID(from tblProject),
Description
tblTime - TimeID, Time, InorOut, SubProjectID(from tblSubProject)
I am trying to generate a form which means i can log when i start and stop
working on different sub projects. I want the form to be able to enter data
into all the fields of tblTime. How do I get it to input the SubProjectID by
having the user go through and first of all select the Client(by name not ID)
then select the Project by name (The ID is not know by the user and the name
will be different for the various clients but not neccessarily different for
two different clients and hence cannot be the primary key.). the user would
then obviosly select the correct sub project by name again and not ID.
Any help would be greatly appreciated. Let me know if this is unclear.
thanks,
James
tblClient - ClientID, Client name, Address, Phone
tblProject - ProjectID, Project Name, ClientID(from tblClient), Description
tblSubProject - SubProjectID, SubProjectName, ProjectID(from tblProject),
Description
tblTime - TimeID, Time, InorOut, SubProjectID(from tblSubProject)
I am trying to generate a form which means i can log when i start and stop
working on different sub projects. I want the form to be able to enter data
into all the fields of tblTime. How do I get it to input the SubProjectID by
having the user go through and first of all select the Client(by name not ID)
then select the Project by name (The ID is not know by the user and the name
will be different for the various clients but not neccessarily different for
two different clients and hence cannot be the primary key.). the user would
then obviosly select the correct sub project by name again and not ID.
Any help would be greatly appreciated. Let me know if this is unclear.
thanks,
James