Its working!!!!
SDate = Format(ComboWeekendingDateStart.Column(1), "mm/dd/yyyy") 'Start Date
EDate = Format(ComboWeekendingDateEnd.Column(1), "mm/dd/yyyy") 'End/Close Date
Thanks for your help! Sometimes I just need a little bit of clue.
The fields are Date/Time fields. I think it is the combobox using the 0. There are 2 columns in the drop down lists. If I type my dates into my code it works just as it should.
So I have been working on it and my code now looks like the below.
Code runs without errors but the Excel file is empty. No records.
Private Sub CmdRunReport_Click()
Dim dbs As DAO.Database
Dim qdfTemp As DAO.QueryDef
Dim strSQL As String
Dim strQDF As String
Set dbs = CurrentDb
SDate =...
This is what I am trying to do:
On an Access form:
1. User selects a start weekending date from a combobox
2. User Selects an end weekending date from a combobox.
3. User clicks a button to start the process.
The process runs a query in Access with the dates the user selected and overwrites...
I am trying to Concatenate many records into a single text field on a report.
I have 2 tables.
tbl_Procedures
PK - ProcedureID - Autonumber
Procedure - Text
tbl_ProcSedationFinal
PK - MRN - Number
Procedure - Number
I would like for all the procedures to be listed...
How do you recommend the table structure be set up?
Something like..
Field Data Type
Question Yes/No
Comments Memo
Corrective Action Memo
And then add the questions into the table?
There are also comments for each question and Corrective Actions.
I...
This is the structure of the table, form and report...
Table
Question 1 Yes/NO
Question 2 Yes/NO
Form
Did you do this? Checkbox
Did you do that? Checkbox
Report
Question Yes Counts No Couts
Did you do this? 1 3
Did you do that? 2 1
I need...
I am just using "Field" as an example. I didn't post my actual field names.
I can't really post my actual field names and sample data. The example I posted is exatly what the report looks like.
Fields are listed down the left side with yes and no counts.
The fields are listed down the left...
That is true. I was using ABS before because I kept getting a negative number but that was because I had the wrong formula.
So now my expression is:
=Sum(IIf([Critical_Lab_Value_Report_Completed] And [Total_Minutes]<=60,1,0))
It works wonderfully.
I thought my Access skills were better than this. Glad this site exists to get me unstuck. Sometimes my brain pauses.
I have a report that lists several different fields and the counts of yesses and nos. It looks like this.
Field Yes Count No Count
Field 1 2 3
Field 2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.