Search results

  1. paulmcdonnell

    email reports ... need a bit of help guys!

    Hi GUYS, How's developing going? I'm trying to email a report as an attachment I can send it as a HTML or TF file using : DoCmd.SendObject acReport, strNewRepName, "HTML (*.html)", _ Me.email, , , , , True. But I loose all my table format etc. How can I email a report to look like a table...
  2. paulmcdonnell

    exporting data to excel files

    HI guys i'm trying to use the following code to export a query to an excel spreadsheet. Problems is I keep getting the following error: "variable uses automation line not supported by visual basic" for the code line: Set objXL = New Excel.Application Why is this, my references are correct...
  3. paulmcdonnell

    exporting queries

    HI guys.... I want to export a query and create a new table in an external database through code. Anyone have any examples of how to do this it's causing me som grief.. Thanks guys Paul
  4. paulmcdonnell

    and easy one for form filters

    Hi guys I'm trying to use two criteria for a filter... At the moment I'm using... Me.filter = "selector = -1" Me.FilterOn = True I want it to filter for this and Date is today, how can I use this in code to filter both conditions.. I can do it through a query, but I want this as just of form...
  5. paulmcdonnell

    setting form recordsource using a macro

    Cheers Pat... The only thing is if I open the form from the Menubar how does the form know that it is being opened from here. I.e. opening from other forms I set a condition on the click event of the control, but setting the event from the Menu bar is slightly different isn't it... Cheers Paul
  6. paulmcdonnell

    setting form recordsource using a macro

    Thanks for the effort j Gonna have another bash in a bit Cheers Paul
  7. paulmcdonnell

    setting form recordsource using a macro

    Close. I have a variable called strsource which changes the record source depending on where the user opens the form from. I need somehow to set this strsource to the required query name or set the Recordsource property to this I tried me.recordsource = "query1" and strsource = "query1" in...
  8. paulmcdonnell

    setting form recordsource using a macro

    Hi guys, I'm using a macro to open a form from the tool bar, but I want to set the form recordsource in the macro. I can't quite seem to find where to put this to get it to work... Any ideas Thanks in advance paul
  9. paulmcdonnell

    dim recordsets not working.. got me????

    Hi guys I'm using some code to send emails to alist of people. Nut in defining the code below I get the error message.. "Compile error" "User defined type not defined" Why is this ... has it something to do with the references ... if so what because I very unsure about references etc.. Hope...
  10. paulmcdonnell

    Filters of Flters

    Hi guys... I can't quite get my filters of filters correct i have a query which filters a table to the first level , I then want to use a form filter to the next filter option which all works ok. But when I want to use my second filter I'm not sure how to use the code to tell access to apply...
  11. paulmcdonnell

    Can you have Stepped forms filters?????

    Cheers for that Chris, I want to give the user the opportunity to save to excel should they want to, so that they can keep an external record which can be used for other analysis options. Thanks Paul
  12. paulmcdonnell

    Can you have Stepped forms filters?????

    Hi guys.... I have a continuous form with lists of companies. I want the ability to filter the form firstly by company name and then by area code. My method of filtering filters the form but from the original data i.e. it only filters from the original table data and not from the first group of...
  13. paulmcdonnell

    Code for ordering forms

    err that should be "know"
  14. paulmcdonnell

    Code for ordering forms

    Thanks Charity..... Worked ACE! Do you no how you do the same thing but filternig by the selected value of a combo box? Thanks again... PAUL
  15. paulmcdonnell

    Code for ordering forms

    Hi guys, Sounds simple but I want a command button to order the form data displayed by date or name or whatever... Do i need to use code behind the button to change the underlying query or can I do it on the form itself... I'm not sure what to use to do this on the form any ideas.. cheers paul
  16. paulmcdonnell

    emailling queries

    Hi guys, Is there a quick way to email the content of a query as part of the text of an email, or would it have to be part of an attachment. Any ideas... paul
  17. paulmcdonnell

    Is the syle of Penelope Pitstop... "Heeeelllllp!"

    OK, What I mean is that I have a table which has a list of parameter values eg. record 1 is A, record 2 is B, record 3 is C. What I need to do is a condition to return true if a text box on my form matches any entry within the parameter table. does this help shacket? cheers
  18. paulmcdonnell

    Filtering a form to show data for Date()+1

    Is this fundamentally wrong... I have a form which is basically a diary. Based on a table of entries. I have controls to show all appointments, today's, tomorrow's, yesterday's etc... My filter works fine for if control is clicked filter is Date(), but how do I get the filter to display...
  19. paulmcdonnell

    Is the syle of Penelope Pitstop... "Heeeelllllp!"

    Hi Guys, I'm trying to check conditions using code ie. If x=1 or x=2 or x=3 then ... perform event. I want to be able to do this with the criteria being the entries in a table. i.e. If x is listed in table y then perform event. I can't quite manage to get this right and I'm not sure of the...
  20. paulmcdonnell

    updating two fields from a combo box?????????

    hi guys Question: I use a combo box to display names and addresses of companies (list is 5 columns wide). The combo box updates a field on the after update event. I want this combo to update more than one field after the update event ie name and address. How do you get a combo box two update...
Back
Top Bottom