MadAtMicrosoft
Registered User.
- Local time
- Today, 02:10
- Joined
- Sep 27, 2010
- Messages
- 18
I am creating a portion of a db wherein Employees input their day's tips. According to IRS rules, shared tips are to be documented. Thus I have created a Second table for Shared Tips.
***************************************************
A) The Main table = tblActualTipsReported has the following:
I then created a Query = qselSharedTipsTotals to Subtotal by EmployeeID and ActualTipsReportedID the total of that day's shared tips with an Alias: DateTipsShared By Day
I created a Main Form (Tips Reporting) where the Employee Reports the Gross tips they received and then Via a Control Button they click to open the input of Shared Tips that opens another Form frmSharedTips
I am trying without success to get the total from my query of the total shared tips back onto the main form (Visable but Locked) and get the ?Name error.
I know I'm missing something in some Select Where statement.
Any suggestions?
***************************************************
A) The Main table = tblActualTipsReported has the following:
1) ActualTipsReported ID (PK) (Autonumber)
2) EmployeeID - Linked to tblEmployees
3) DateTimeStamp (General Date) (Default = Now()) {Not Visible}
4) TipDate (Short Date) (Default = (Now()) {Visible & UnLocked}
5) ActualDirectTips (Currency)
6) CreditDebitTips (Currency)
B) The Table feeding the subform = tblSharedTips2) EmployeeID - Linked to tblEmployees
3) DateTimeStamp (General Date) (Default = Now()) {Not Visible}
4) TipDate (Short Date) (Default = (Now()) {Visible & UnLocked}
5) ActualDirectTips (Currency)
6) CreditDebitTips (Currency)
1) SharedTipsID
2) ReportingEmployeeID (Linked to tblEmployees)
3) DateTimeStamp (General Date) {Not Visible}
4) DateTipShared (Short Date) (Default = (Now()) {Visible & Locked}
5) TipSharedAmt (Currency)
6) ActualTipsReportedID (Link to tblActualTipsReported)
7) SharedWithEmployeeID (Linked to tblEmployees)
******************************************************2) ReportingEmployeeID (Linked to tblEmployees)
3) DateTimeStamp (General Date) {Not Visible}
4) DateTipShared (Short Date) (Default = (Now()) {Visible & Locked}
5) TipSharedAmt (Currency)
6) ActualTipsReportedID (Link to tblActualTipsReported)
7) SharedWithEmployeeID (Linked to tblEmployees)
I then created a Query = qselSharedTipsTotals to Subtotal by EmployeeID and ActualTipsReportedID the total of that day's shared tips with an Alias: DateTipsShared By Day
I created a Main Form (Tips Reporting) where the Employee Reports the Gross tips they received and then Via a Control Button they click to open the input of Shared Tips that opens another Form frmSharedTips
I am trying without success to get the total from my query of the total shared tips back onto the main form (Visable but Locked) and get the ?Name error.
I know I'm missing something in some Select Where statement.
Any suggestions?