Search results

  1. M

    Update query not working

    I see. That seems a wee bit daft but never mind. The query is indeed working. SHouldn't have ovelooked that fact. Thanks for your help.
  2. M

    Update query not working

    Hi all, I'm sure this is easy to do but for some reason i just cannot get it working. Hopefully someone here can tell me where i'm going wrong. I have two tables in a database and the have a linking unique field. I want to update a column in one table from a column in another where the linking...
  3. M

    Duplicate Entry Woes

    Pat, That doesn't seem to accumulate the values for each Patient_No. It still gives 1 for each record as the count. i need it to count 1, 2, 3 if there are three entries for the same Patient_No with different ID.
  4. M

    Duplicate Entry Woes

    Brilliant! Thats great. worked perfectly, but then you already knew that from the example you supplied. Thank you so much for this. Cheers
  5. M

    Duplicate Entry Woes

    THanks for the prompt response. I've had a look at this and it gives me a count yes, but instead of incrementing on each entry it gives me the total count in each field. i.e. [Patient_No] [ID] [COUNT] BA4206 1067404 2 BA4206 1067405 2 BG1013 1067545 3 BG1013 1067546 3 BG1013 1067547 3 BG1111...
  6. M

    Duplicate Entry Woes

    I have a table that has (to simplify things) two fields. [Patient_No] [ID] BA4206 1067404 BA4206 1067405 BG1013 1067545 BG1013 1067546 BG1013 1067547 BG1111 1078432 I want to be able to...
  7. M

    Delete query not working

    EMP, Superb!, thats even better. This does exactly as requested without the need for any extra fields. Cheers :)
  8. M

    Delete query not working

    Cheers Len, That sounds like a good way to go. it will certainly do what i need to. Thanks for your help, it appreciated.
  9. M

    Delete query not working

    Hi all, I have a problem with a delete query i am trying to set up and hopefully one of you experts can help me out. I have a table called [PMI] and a table called [Referrals] The tables have a one to many relationship and are linked by the primary key field Patient_No. I want to delete all...
  10. M

    Need Help Writing a Query

    Hi there Thanks for the reply. Correct me if i'm wrong but the qury that you have posted counts all visits over a 14 day period around the date? Unfortunately this is not what i need it to do. I wish it was because it would be so much easier. I need a count for each of the seven day periods...
  11. M

    Need Help Writing a Query

    Hi all Hopefully someone can help me with this problem. I have a table in a database which shows patient contact details. From this table i have been trying to calculate a patients dependency based on the contacts made and there duration. I have written a VB program which will eventually do...
  12. M

    Play sounds when opening forms?

    This link has some info on how to play sound. Its taliored to the splash screen at the start but maybe you could use it in the on open event of a form. Hopefully its a start at least. http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=41040&highlight=playing+sound HTH
  13. M

    Referencing fields in subform from main form

    :D Thank you. thats worked this time. Just need to get a wee work around for the #Error? that comes up when the subform is empty. That shouldn't be to bad, think i have a solution to that. Thanks for your time. When you said that you seen how i was doing the forms, is there maybe a better...
  14. M

    Referencing fields in subform from main form

    if i put that in i still get the #name? coming up in the unbound text box on the main form. I'm now utterly convinced that i'm doing something stupid somewhere.
  15. M

    Counting records in a subform and displaying it

    Thanks for the reply. Wasn't sure if anyone would check this post again. I've managed to get that working. thanks for your help, its much appreciated.
  16. M

    Referencing fields in subform from main form

    Hi indesisiv ok i've looked at the document you posted. It all makes sense. As far as i can make out thats what i'm doing and still getting #NAME? showing up. in the unbound text box on the main form i have (under the control source): =[Forms]![SitesByVersion_subfrm]![Count_txt] where...
  17. M

    Referencing fields in subform from main form

    Thanks for the quick reply. Thats not working either. I'm still getting the #NAME? in the text box on the main form. I assume what you posted was to be put into the control source of the unbound textbox. Cheers
  18. M

    Report Format

    Hiya Could you not just set the group 0 - +7 as 1 - +7 and so on, then if a report is handed in ontime it can only get grouped in the -7 - 0 group.
  19. M

    Referencing fields in subform from main form

    Hi all. I have a problem to do with getting values from a field in a subform and copying the values to a field in the main form that contains the subform. In my subform i have a field in the footer which counts all the records. I'd like to be able to get this value into an unbound text box on...
  20. M

    Counting records in a subform and displaying it

    Hi all Just looking at this post, as its exactly what i'm looking to do in a small database i'm seeting up. I've done the counter at the bottom of my subform and this displays a value if there are records available. when i try to reference that field from outside the subform on the main form...
Back
Top Bottom