Search results

  1. Lanason

    spell chekcing

    I have added:- DoCmd.RunCommand acCmdSpelling after updating a memo field - if there is a spelling mistake then the box pops up for the corrections. However is there a way of supressing the "spelling complete" message if the spelling is OK?
  2. Lanason

    flipping suntax !!!!

    :banghead: I am creating and saving a pdf version of a report and then opening for viewing In the viewing I can use the "ID" no to link it, but in the Docmd.OuptutTo I can't see where in the syntax I can put the equivalent of "[ID]=" & [ID], can anyone help?? ReportName = "ABC123"...
  3. Lanason

    variable Recordset

    Final stupid question on my nested loop How do I put a variable into the form name to replace frmABC (as I get this from my data) myrec2 = Forms!?????.Recordset
  4. Lanason

    Nested loops

    End If myrec1.MoveNext End If End If Loop End With Close worked - it was about positioning - thanks
  5. Lanason

    Nested loops

    thanks buddy I will test on Monday when back:D
  6. Lanason

    Nested loops

    don't I need it ?? If I take it out I get "Do without loop"
  7. Lanason

    Nested loops

    I have some code below that generates emails for me - it includes a nested loop. Since the Reports definition allows both sent to a pre-defined mail list - or has a nested loop to send a customised report to specific users When I try and run I get error message "Loop without Do" I cant see why...
  8. Lanason

    replace .xls with access table

    I have a linked excel spreadsheet to my database but now I want to IMPORT the data into an access table The spreadhseet is linked to queries - what is the correct sequence to replace the linked excel with the new table?
  9. Lanason

    selection criteria in sendobject

    Thank you guys
  10. Lanason

    selection criteria in sendobject

    Thank you guys - I was trying to get away from creating a separate query / report and use a generic report with no parameters hard encoded
  11. Lanason

    selection criteria in sendobject

    I am automatically send a pdf report in an email does anyone know how to send a selection parameter to select just particular record from the report?? DoCmd.SendObject acReport, StDocName, acFormatPDF, MailTo, MailCC, MailBcc, Subject, MailGreeting & MailMessage & MailSignature, True Thanks...
  12. Lanason

    Word

    thanks - how do I open a folder ??
  13. Lanason

    Word

    Is it possible to open a word document and/or to open a folder from a button in access?? what is the syntax / command pleas
  14. Lanason

    pdfformat

    Of course, Silly me, it was in the Form design #Obvious Thanks
  15. Lanason

    pdfformat

    I've put in an "if" statement and forced the pdf format which now works ok However the original data form opens in "filtered" mode StDocName = "frmReportsInternal" DoCmd.OpenForm StDocName, acNormal, "", "", , acNormal how can I force to open all records
  16. Lanason

    pdfformat

    It works with RTF
  17. Lanason

    pdfformat

    still says "the format you are trying to output the current object is not available" strange but true - (access 2010 by the way)
  18. Lanason

    pdfformat

    thank you chaps - i will try this tomorrow
  19. Lanason

    pdfformat

    here is an odd one ...... this works DoCmd.SendObject acReport, ReportName, acFormatPDF, SendTo, SendCc, SendBcc, Subject, Message, True, "" but this doesn't Dim MailFormat As String MailFormat = myrec![MailFormat] ' MsgBox MailFormat...
  20. Lanason

    refreshing form data

    thank you now working
Back
Top Bottom