Search results

  1. A

    Between dates in queries

    I think so, the date is entered in a separate form, with both boxes set as short date. The query also has short date configured.
  2. A

    Between dates in queries

    Thanks Wayne, that is what I suspected. Is there anything I could put in my criteria to make the selection add an extra day? I tried Between [startdate] And ([enddate] + 1) but that did not work. Thanks
  3. A

    Between dates in queries

    This may sound a stupid thing to ask, but when you use: Between [StartDate] and [EndDate] does the period include data entered on the [end date] or data entered upto that date. Does that make sense? I seem to be experiencing problems with data entered today and when I run a query with an...
  4. A

    How to disable specific fields in a report

    Rich, Thank you for your help with this issue but I have sorted it. It appears my If statement within another If statemnet was the problem. I re wrote the code as : Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Question = "How satisfied would you be to RECOMMEND...
  5. A

    How to disable specific fields in a report

    OK, I renamed the Text Boxes on the report and amended the code to: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Question = "How satisfied would you be to RECOMMEND Wessex Garages?" Then If Me.[CS] = 0 Then Me.[CS].Visible = False Else Me.[CS].Visible = True End If...
  6. A

    How to disable specific fields in a report

    They are field names from a cross tab query.
  7. A

    How to disable specific fields in a report

    Thanks for the response. I have tried: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.QuestionID = "How satisfied would you be to RECOMMEND ******* Garages?" Then If Me.[1] = 0 Then Me.[1].Visible = False Else Me.[1].Visible = True End If End If End Sub But I lose...
  8. A

    How to disable specific fields in a report

    I have looked at threads using Private Sub Detail_Format which I believe I need, however I am confused. I have a report, which is derived from a cross tab query. The report has 10 questions in it. 9 questions have 4 possible answers and the last question has 2 possible answers. Therefore my...
  9. A

    Concatenating instead of adding???

    Thank you both very much. I am really grateful. Problem solved.
  10. A

    Concatenating instead of adding???

    I have a report generated from a crosstab query. The crosstab has 4 fields I need to add together. In my form box I have used: =[1] + [2] + [3] + [4] as my column names are 1,2,3 and 4. However this returns a concatenated string rather than a numerical total. If I take away the [] I get...
  11. A

    Blank fields - how to change to 0

    Thank you very much. I had just found another post using NZ and had tried to get it to work, but with the expression the other way around - Count(nz([],)) and not suprisingly it didn't work. Thanks again.
  12. A

    Blank fields - how to change to 0

    I am very sorry, I did not engage brain before adding the attachment. It was an earlier attempt which I should have deleted. The correct file can be downloaded from http://www.auto-alert.net/access/csi.zip as it is too large to upload here (file size is 250Kb). This contains all of the...
  13. A

    Blank fields - how to change to 0

    I am sorry, I am confused. The mdb is all that I have. If you open the report and enter dates from 01-01-01 to 04-04-04 as an example the report is generated with several blank fields. I do not have any other tables, etc. I appreciate your efforts and happily accept that I am probably such a...
  14. A

    Blank fields - how to change to 0

    I am not quite sure how to add certain tables, etc. I have attached the mdb which is Access 97 format. Kind regards
  15. A

    Blank fields - how to change to 0

    I appreciate your help so far with this Unfortunately, that did not work My query is TRANSFORM Count(NewResponses.Response) AS CountOfResponse SELECT NewResponses.QuestionId, NewResponses.SortData FROM NewResponses WHERE (((NewResponses.Date) Between [Forms]![datetest]![StartDate] And...
  16. A

    Blank fields - how to change to 0

    Forgive me for being a little? (maybe alot) dense. Where to I put the NZ function? I am a vey new newbie!
  17. A

    Blank fields - how to change to 0

    Hi, I am a newbie so bear with me. I have a table which has data record1 | question 1 | 3 record1 | question2 | 2 etc I have a cross tab query that generates a table that now looks like Headings Question | 1 | 2 | 3 | 4| and the data shows how many questions were answered as 1, 2...
  18. A

    Newbie Query Question

    Jack. A big thanks for all of your help. I have now got all I need to complete this task. Unfortunately I needed to keep the form layout frm my original example, therefore I added a Delete query to be actioned when you click the next button on the data input form. This clears the responses...
  19. A

    Newbie Query Question

    Thanks again Jack. I will look at the example tomorrow as I have been at this task all day. Hopefully I will get it sorted. Thank you for converting the example and taking a look at my "attempt" Kind regards
  20. A

    Newbie Query Question

    I am now totally confused. I am so close yet so far to finishing this project. Microsoft say the folowing, which I have followed: <start> MORE INFORMATION The following examples outline nonrelational table design commonly used for questionnaires and surveys and suggests an improved, relational...
Back
Top Bottom