Recent content by andy callaghan

  1. A

    Need help changing Sendobject to Automation

    Here is my code, as you can I see I am sending a query form to send to a list of email address. These are selected via a tbale of addies. what I would like to do is chnage the code, so not only does it attachment the report but also opens up a browser window so users can add additional...
  2. A

    code for emailing report works sometimes why?

    I have created a report based ion a query based in atable using the inbuilt tools for MS access I went for the email report and send to file options. the code looks like this:- Private Sub Mail_Report_Click() On Error GoTo Err_Mail_Report_Click Dim stDocName As String stDocName = "Data...
  3. A

    error is due to too manyIIf's i think.pls help

    ok, thanks for your help and apologises for misunderstanding:) Ill try what you suggest with the table ranges. Sounds too complicated for me. Might go back to Excel :D
  4. A

    error is due to too manyIIf's i think.pls help

    agreed, approached in an excel way definately. I understand Excel a lot better, trying to use what I know but trying to convert the if statements and using in Access. So any ideas how to fix ithe problem of counting only once it has reached 30000? BTW, deleted prior string as you suggested it...
  5. A

    error is due to too manyIIf's i think.pls help

    I am trying to count the hours each year a plane acrrues. for the example :everytime a plane has done 30K miles it needs to be checked for repairs. If i do a range say if hours are between 30000-60000, it continues to appear(be counted) till it gets past 60000. I need to say if it appears...
  6. A

    error is due to too manyIIf's i think.pls help

    any ideas ? could i put "sum" in somewhere
  7. A

    error is due to too manyIIf's i think.pls help

    OHYR10/1: IIf([ohyr1/1]+[ohyr2/1]+[ohyr3/1]+[ohyr4/1]+[ohyr5/1]+[ohyr6/1]+[ohyr7/1]+[ohyr8/1]+[ohyr9/1]>=1,0,IIf([fh10] Between [yr1engoh] And [yr2engoh],1,0))*[TotalACCperaircraft] the OHYR1/1, OHYR2/1 etc are expression results within the same query It works up to...
  8. A

    How do i stop range duplications?

    I am trying to write a query( design view), I need to count how times someone is in a certain mileage range each year, the problem is because the range is large 30K, once the car/person reaches that range they continue to appear . How can I restart the counter for the next 30K, so they only...
  9. A

    Mail Merge Access Query

    I have created a price list based on a customer's request. I now need to mail merge this list. how do i do this and how do i get around sometimes having a shorter or longer list than the mail merge template thanks for your help, couldnt find a "MS Word " forum
  10. A

    Two queries based User Input.

    OK thnx, Ill tomorrow when back at work. If we are talking inner join i guess I have to use sql instead of query design? thnx again
  11. A

    Two queries based User Input.

    Here is the query in design view I cant link product and products directly, i have trimmed product to remove spaces etc. customer product(trimmed) products prices if i could i would just join product-products to pull in prices, b utu i need to trim first. cant upload, settings disable by...
  12. A

    Two queries based User Input.

    forgot to add, I need the table to be saved as a record of the prices the customer has been quoted
  13. A

    Two queries based User Input.

    Where do I link the query, I have trimmed[product] in table1 and [products] in another table2 how can i link the two fields, if i link product to product before trimming i get no results If I run the seperate query, 1 with the trimmed product, then link that field to the [products] i...
  14. A

    Two queries based User Input.

    ok, Table1 holds customer and product details - I have to trim the products in this table to align with table 2. I want admin team to be able to run query ( Make table query1) based on selecting any customer "user input". Table 2 is prices, and products. What should happen when "Admin"...
  15. A

    Two queries based User Input.

    I have two Queries, 1.A make table query which uses "user input" as a parameter filter. 2.I then want to save the table as user input "customer A" 3 Then used the saved table as "customer A" 4. Then uses this newly created table in another query I want to save the first make table with the...
Back
Top Bottom