Okay, first off let me say... I am new to using access for access reasons... I have been using it for VBA reasons until now.
What I am ultimately trying to do is create a form, that will run a report or generate an excel file... So I know I need to have a query built to do this first ( I think )
Before I attempt to put what I am trying to do in code let me tell you what tables and columns I am dealing with..
Example
Table Name
- Columns Under Table
tblFuncLog
- chrUser
- chrFunction
- dtmTimeStamp
Analyst_Table
- peregrine_id
- region_uid
So the report I ultimately want to be able to run from a form will logically go like this...
Select * FROM tblFuncLog WHERE chrUser and Peregrine_id are the same (This rules out NLE people) where dtmTimeStamp is between (variable on form?) and (variable on form?) and region_uid is (Variable on form?)
My sql statement is horribly flawed... My problem is I am not sure of the process to achieve this.
Now between the two tables the only thing that remains the same is chrUser & peregrine_id.... I have googled for a bit, however the examples I am finding are not intended for someone as lost as me lol. Once again I appreciate any guidance or advice.