Search results

  1. J

    Attach multiple scanned pdfs to one record

    Oops! Spoke too soon. The hyperlinks appear fine, but when I click on them in the subreport, sometimes the links work, and sometimes they don't. On examining the table, I found by copying and pasting that the filenames which do not work have the characters ## at the end of the filename -...
  2. J

    Attach multiple scanned pdfs to one record

    Many thanks - this has helped solve it.
  3. J

    Attach multiple scanned pdfs to one record

    Thanks...I am using a subreport, which looks exactly how I want it to. As for adding the attachments to tblAttachments, I found this from Bootwalker: SQLstring = "Insert into [Hours]([Entry date], [User], [Hours], [Task], [Description]) " & _ "Values (#" &...
  4. J

    Attach multiple scanned pdfs to one record

    Hi - I got stuck! Then I found this: http://www.access-programmers.co.uk/forums/showthread.php?t=153350 I created a new module and put the functions in it; I can now browse for a file, and store the link in a textbox. I would like to be able to add more than one file, and have them...
  5. J

    Attach multiple scanned pdfs to one record

    Excellent! Thanks again.
  6. J

    Attach multiple scanned pdfs to one record

    I would like to be able to add more than one scanned document and link them to one record. If it is possible, I would like to have a command something like "Attach file" on the form displaying the record. The user could browse to find the scanned document and it becomes a link. The user could...
  7. J

    Opening files from a form

    I am trying to do something very similar, but would like to be able to add more than one scanned document. If it is possible, I would like to have a command something like "Attach file" on the form. The user could browse to find the scanned document and it becomes a link. The user could then...
  8. J

    IDENTIFY RECORD BY number and year

    Many thanks - I finally understand it. Also apologies for not noticing the DATE_LOGGED error. I do notice that, as I move into a new year (i.e. a year that does not fit the condition in the code >=2012 and < 2013), all records have the same "count number" i.e. after the last record of 2012...
  9. J

    IDENTIFY RECORD BY number and year

    Yes... I am having problems trying to use the subquery: I have tried pasting this into the SQL of the query qryIncidents as suggested by CJ_LONDON: OK, so you would put the subquery solution in your qryincidents query and as you say, the dcount solution could go in your txtRecordno...
  10. J

    IDENTIFY RECORD BY number and year

    I am still having problems.. I tried using the DCOUNT expression in a control but still got the #Name? error - I am sure I used the correct field and txtbox names. I am now trying to check in the command button what variables are being passed: I create a new record with today's date and want to...
  11. J

    IDENTIFY RECORD BY number and year

    Thanks for your continued support... I am wondering if the solution involves placing the dcount in a subform? When I look on the properties of the textboxes "txtRecordno" and "txtYear", I do not see RECORDSOURCE - only CONTROL SOURCE. The RECORDSOURCE for my current form (FrmIncidents) is...
  12. J

    IDENTIFY RECORD BY number and year

    Again, thanks to all who offer help; I am still unable to make these work. I do have an ID field (Autonumber) in tblINCIDENTS, but the subquery doesn't work, nor does the DCOUNT.
  13. J

    IDENTIFY RECORD BY number and year

    Thanks again Galaxiom, but it still shows the total number of records (including 2011 and 2013). Is this something to do with the Format?
  14. J

    IDENTIFY RECORD BY number and year

    This almost works, but always displays record number 1. To try to figure out the syntax of the DCOUNT function, I changed it to this: =DCount("*","tblINCIDENTS","DATE_LOGGED >= #1/1/2012#" And "DATE_LOGGED< #1/1/2013#") It now always shows the total number of records. Could you let me know...
  15. J

    IDENTIFY RECORD BY number and year

    Thanks both for the replies - I realise the autonumber is no use; it was the way I originally set the structure of the table. I will try DCOUNT, but am unclear as to how this will also link with the YEAR, unless I store it in the table? Sorry it is unclear. I mean it to do the following, e.g...
  16. J

    IDENTIFY RECORD BY number and year

    I have a form linked to table tblINCIDENTS When I create a new incident, I select DATE_LOGGED in a text box. This updates the field in tblINCIDENTS. I would like to show on the form (and store in the table), e.g. "Record 5 in Year 2013" I already had the new record number as an...
  17. J

    "Between Dates" from form to query

    Hi - I have a form which accepts a start and end date in 2 unbound textboxes. A 3rd textbox allows the user to select the status of te incident. On clicking a command button, I can open a subform which displays each matching record: Dim strWhere As String Dim ststatus As String ststatus =...
  18. J

    Send email from access - old post re-opened

    Re: send email from access Thanks for getting me started on emailing from a form. My problem is, I have a form called frmINCIDENTS, with a text box (txtemail) which holds the email address to be sent. It sends the information correctly to outlook, but when I click SEND, on returning to Access I...
  19. J

    send email from access

    Thanks for getting me started on emailing from a form. My problem is, I have a form called frmINCIDENTS, with a text box (txtemail) which holds the email address to be sent. It sends the information correctly to outlook, but when I click SEND, on returning to Access I get the attached error...
  20. J

    COMBOBOX Afterupdate problem

    Thanks Missinglinq. Attached is the file - it now nearly works (the name appears in the textbox but after 1 or 2 updates I am told Index cannot be empty) You will see on my form the next stage is to send an email to the person I select (I wil cross that bridge if I reach the river!)
Back
Top Bottom