Search results

  1. H

    Filter subform by combo box...

    Get same error message with alternative method: if i change a combo or click the reset button... 13 - type, mismatch please help!
  2. H

    Filter subform by combo box...

    Hi, I've tried to reverse engineer the "Pine" example of manipulating the filter arguement for a subform using multiple comboboxes, but have failed. "13 - Type Missmatch Error". i also tried the earlier method of manipulating the recordsource but if i chose more then one combo box to filter by...
  3. H

    cascading combo boxes

    Hi, i appricate there have been several posts on this subject, and i have managed to set up a filter by cascading boxes. however, i'm a bit stuck on making the filter 'live' i.e. to filter the records by each box in turn, narrowing down the records. e.g. all "sales", then by "department", then...
  4. H

    Switchboard vs Form

    What advantages are there of using a switchboard compared to creating a form with buttons to open the other forms? Basically, why use a switchboard? Cheers, Rob
  5. H

    Confused about when exactly record is created in back end table

    OK, i figured it out myself... basically a record is saved once you move onto another. As i was attampting to run a report based on a query using data from the record i just entered on the same form, the query returned null as the record had not yet been created. if that makes sense... solved...
  6. H

    Confused about when exactly record is created in back end table

    Hi, At what point is a back end table updated with a new record created on a form in your front end? I need to run a report of data i have just entered into a form and it returns black as the record doesn't yet exist in the table... is there a docmd to create the record? thanks for any help. Rob
  7. H

    code to check if a report exists

    basically i want to customise the filename of a report i'm exporting to outlook as an .rtf and the only way i seem to be able to do this is by copying the report and assigning it the name, then sendobject. now, if sendobject is cancelled i need to delete the report. as i had it, the report would...
  8. H

    code to check if a report exists

    wow, that works a treat :) thanks
  9. H

    code to check if a report exists

    can i use this by defining rname in private sub where i intend to use the function? or would i have to write a function for each report i intend to check for with this? bascially, if the report exists, i want to delete it, if it doesn't i want to end the sub. thanks for your help :)
  10. H

    code to check if a report exists

    hey, just a quick one, any ideas on a line of code to check if a report exists.. something like IF (report exists) Then... Cheers Rob
  11. H

    vba emailing report & assigning file name

    just a quick one, what code would i use to check if that report exists? thanks :)
  12. H

    vba emailing report & assigning file name

    oh wait, we're good! :)
  13. H

    vba emailing report & assigning file name

    ...or not...
  14. H

    vba emailing report & assigning file name

    Oh, how daft! Had something input to caption. rename now works a treat, only problem left is if the sendobject is cancelled the report remains... but i think i know how to tackle that! I'd post the project, but it has content of a confidential nature and i'm not sure i'd be allowed by company...
  15. H

    vba emailing report & assigning file name

    ok, slight problem... DoCmd.CopyObject , stdocname, acReport, origdocname DoCmd.SendObject acReport, stdocname, "Rich Text Format (*.rtf)", to_list, cc_list, , subject, msgText DoCmd.DeleteObject acReport, stdocname this copies the report, changes report...
  16. H

    vba emailing report & assigning file name

    I see, thats the sort of route i was going to ask about as my next line of thought! It may sound a little long winded, but i think it's the only meathod to customise the report file name... I'll give this a go and let you know the outcome :)
  17. H

    vba emailing report & assigning file name

    it appears caption property controls the filename.. but i can't put any code in there...
  18. H

    vba emailing report & assigning file name

    ah, i think i've not explained myself very well... I wanted to change the filename of the report depending on who it's going to... i.e. i want to rename the report when it is sent without modifying the name of the report stored in the database.
  19. H

    vba emailing report & assigning file name

    cool, thanks for your help, that's filled a gap in my knowledge! Rob :)
  20. H

    vba emailing report & assigning file name

    so stdocname isn't the name of the report? Then problem solved!
Back
Top Bottom