lvengineer
Technical User
Hi Programmers,
As promised, I got my bonus for my database design! I will receive it in July and make a donation to the site. Thank you all for your assistance. You folks are awesome.
A new question: I'm very close to solving this but it isn't working:
Have a form with txtStartDate and txtEndDate text boxes.
Have a table with various fields. I want to build a query using a command button and use record.source to preview report. Neither my expression builder method nor my SQL code seems to work. I have seen similar threads but none with sufficient detail to solve the problem.
SQL code:
[Between [Forms]![frmGroup Report Form]!txtStartDate And [Forms]![frmGroup Report Form]!txtEndDate
SELECT [Exception Data Entry Table].Employee, Sum([Exception Data Entry Table].Credit) AS SumOfCredit
FROM [Exception Data Entry Table]
GROUP BY [Exception Data Entry Table].Employee;]
Any help will be appreciated. I'll be glad when I can write this stuff in VBA and VB6 code.
Thanks,
Bruce Weigman
As promised, I got my bonus for my database design! I will receive it in July and make a donation to the site. Thank you all for your assistance. You folks are awesome.
A new question: I'm very close to solving this but it isn't working:
Have a form with txtStartDate and txtEndDate text boxes.
Have a table with various fields. I want to build a query using a command button and use record.source to preview report. Neither my expression builder method nor my SQL code seems to work. I have seen similar threads but none with sufficient detail to solve the problem.
SQL code:
[Between [Forms]![frmGroup Report Form]!txtStartDate And [Forms]![frmGroup Report Form]!txtEndDate
SELECT [Exception Data Entry Table].Employee, Sum([Exception Data Entry Table].Credit) AS SumOfCredit
FROM [Exception Data Entry Table]
GROUP BY [Exception Data Entry Table].Employee;]
Any help will be appreciated. I'll be glad when I can write this stuff in VBA and VB6 code.
Thanks,
Bruce Weigman