Search results

  1. D

    Exporting Reports

    Does anyone know if it is possible to export a report (which is a chart) into Excel.
  2. D

    Opening form on multiple criteria

    I could try that, As i say the filter above does work however for some of the dates it does not like and throws back blank records when i know there is stuff there. These dates always seem to start with a zero. for example 03/01/2004. Dont know if this is a bug in Access or the way the...
  3. D

    Subform Query

    Is there anyway of clicking a button on the form to view the subform instead of it being there all the time .
  4. D

    Opening form on multiple criteria

    I have tried this code linked to a button that seems to work, however i am now getting records that i know are in the database but for some reason it doesnt seem to like the date field and just brings back a blank screen. When i go into design view on the form and theck the filter through...
  5. D

    Chart Problems

    I have a report that shows a graph for each timeslot showing the frequency that an instance has gone wrong and the reason it did. The legend in each graph shows the reasons. I want the legend colour to remain consistent throught the report. ie. for each timeslot a graph is provided, i want the...
  6. D

    Opening form on multiple criteria

    I have a patient form that has a subform showing the care plans. At the side of each care plan for that patient i have a button that if clicked will take you to the specific care plan. I need this to open the care plan form based on multiple criteria which is Date (Date Field) Care Plan...
  7. D

    Deleting tables on exit

    Thanks, sorry for being so simple but i am learning. Your a genious
  8. D

    Deleting tables on exit

    Im sorry if im coming accross as not being to bright, but VB has never been my strong point. I did as you said, found something that i vaguely understood and put this in. Function ObjectExists(strObjectType As String, strObjectName As String) As Boolean Dim db As Database Dim tbl As...
  9. D

    Deleting tables on exit

    Right, i have a database that creates tables using the make table query. What i want it to do is delete these tables when the exit button is clicked. The Vb i used will delete the tables if they are there, however if they have not been created i get an error message saying it cant find the...
  10. D

    Searching using multiple criteria

    Just noticed i missed the 2 of the second SearchStr but still get the same error.
  11. D

    Searching using multiple criteria

    I have a button with this code attached Dim SearchStr2 As String SearchStr = "[PROTECHNIC_NUMBER] = " & "'" & Forms![FRMPATIENT]![Frm_ICP_Select].Form![Protechnic_Number] & "'" _ And "[ICP_Code]" = Forms![FRMPATIENT]![Frm_ICP_Select].Form![ICP_Code] DoCmd.OpenForm "FRMASSESMENTHEAD", acNormal...
  12. D

    opening up a word document from a button

    Its ok it works now so thanks for that, Just needed to know how to open a template rather than a document. Should of really read the message further up :cool:
  13. D

    opening up a word document from a button

    Thats great and does the job thanks, but just to be awkward would the same code work for opening a document template or would it be different. Problem is that if users open it up in word and then save it. They overwrite the bookmarks.
  14. D

    opening up a word document from a button

    I have a form with various details on clients. I have 6 different letters that need to pull off different fields from the client form. Is it possible to have a button (for each letter) that when when clicked will open up the word document for the specific client with the fields on their...
  15. D

    Hiding and viewing subforms

    Thanks for that, my silly mistake
  16. D

    Hiding and viewing subforms

    I have a form with a subform on with the visible value set to false. After a value has been selected from a combo box i then want this subform to show. Tried calling the form using me!formname.visible = true in the afterupdate but it says it cant find the form. Any Ideas how
  17. D

    Age Groups

    Thanks for the help, all is working fine now.
  18. D

    Age Groups

    I have a patient form that has the patients age on it. i now want to count the number patients in different age groups by gender. Say 25-35, 26-45 etc. and put this into a report. Is this possible to do in a query or report
  19. D

    Calander Popups

    I have tried these examples, but every time i go to open the calander i get an error message 2683 saying "There is no object in this control" Does any one know why? :mad:
  20. D

    Searching for a specific client.

    Thought about that, but theres nearly 3000 records. Could do with some kind of if statement on the command button, but not to clued up on VB
Back
Top Bottom