Recent content by avalon60

  1. A

    Produce the data from a selected file/qry.

    This does exactly what I want now! WHERE MONTH(READINGDATE) = [Enter the Month Number] AND Day(READINGDATE) = [Enter the Day Number] Thanks for your time and help Oh, and yes I will investigate the WHERE Clause
  2. A

    Produce the data from a selected file/qry.

    Just wondered if I have to have a field called ReadYear in the table so as to select the year. I hope not as there are over 5000 records I would have to go through! Thanks
  3. A

    Produce the data from a selected file/qry.

    yes there was a small problem at this end as to why I was asked for a READDATE. My apologies as I should have said the field was ReadingDate and not ReadDate. I have other tables where I have ReadDate, and the one I used is ReadingDate, hence the confusion. So now I am asked for a Month Number...
  4. A

    Produce the data from a selected file/qry.

    Yes it does ask for a ReadDate, as I have just tried it again.
  5. A

    Produce the data from a selected file/qry.

    Some example ReadDates: 01/03/2004 16/09/2008 11/02/2009 27/11/2010 The UK date is day first
  6. A

    Produce the data from a selected file/qry.

    I have just tried a split form with date filters, which kinda works. Using the SQL code, when I click on 'run' as it were, I am asked for READDATE from a parameter window, then asked for a month number, and after entering the values I get no records . Aah, but then I entered August 5th for the...
  7. A

    Produce the data from a selected file/qry.

    The table has 6 fields: ID PK ReadDate TempMaxC TempMinC RainFall Conditions There are just over 5000 records in it, and would like to maybe display a month's worth at a time.
  8. A

    Produce the data from a selected file/qry.

    Ok, I have now got a form with 4 fields on , which is all I want for now. There is a read date field which obviously only shows 1 day. Is there a way I could have it to display a months worth of data. Thanks
  9. A

    Produce the data from a selected file/qry.

    I have over 100 queries of weather data, for each month, and would like to display certain or filtered information for a selected month. I have been playing around with a combo box to select a month from a given year, and was hoping that maybe an 'After Update' would do what I want. The problem...
  10. A

    Form produces error after creating query from 3 tables

    Thanks, and that is what I have ended up doing. On both the GasID and ElecID fields, I have created an 'onclick' event so that the relevant subform opens up.
  11. A

    Form produces error after creating query from 3 tables

    Yes it does look like subforms is the only way to go with what I want. Thanks
  12. A

    Form produces error after creating query from 3 tables

    I was only sort of just thinking about Child forms, as many years ago I did use them for one db I built, but moved on a bit since then. We get out dual fuel bills monthly , where they consist of an overall usage and payment on one page, then on a second page, all the figures are clearly broken...
  13. A

    Form produces error after creating query from 3 tables

    Ok, I have just created another query using just the tblMain, and although the GasID and ElecID are also in the said query, when the form is loaded up it only shows records from tblMain. There are text boxes for both GasID and ElecID but no others, which is kind of obvious in one way. So doing...
  14. A

    Form produces error after creating query from 3 tables

    Ok I think I have now solved this. After doing some checking on the PK's, and then closing down the db. Then reopen it, and in the main form when a date or any data is added, some data MUST be added to both the Gas and Elec parts of the same form. I then saved it without any error message, and...
  15. A

    Form produces error after creating query from 3 tables

    Yes I see what you mean now but as all 3 tables are in 1 query so to speak, and the the form is created from the said query, the GasID field is in/on the form. Anyway, how do I get a related record in tblGas. Do I change the PK in tblMain to GasID? Thanks
Back
Top Bottom