Recent content by teambond

  1. T

    Setting object to visible when using the OutputTo method

    Code doesn't work at all in the Open event (don't get that but anyway) Have solved issue. I've put it in the On Print of both the header and footer sections and it works there. Thanks.
  2. T

    Setting object to visible when using the OutputTo method

    The code works fine. The things items are in Header and footer sections. The issue is only on the OutputTo process.
  3. T

    Setting object to visible when using the OutputTo method

    Yes, it's a bound control on the form. This works fine if I run the report directly. It is only when I get vb to generate the report via the OutputTo function.
  4. T

    Setting object to visible when using the OutputTo method

    Private Sub Report_Load() If Me.SupplierOrderType = 2 Then Me.AirFreight1.Visible = True Me.AirFreight2.Visible = True End If End Sub On the Load Event for the Report.
  5. T

    Setting object to visible when using the OutputTo method

    Hi, I have a series of reports that are built to replicate the order forms of our suppliers. On each I have a text box for AirFreight that I only want visible when the airfreight ID is ticked. I have this working fine using an if statement on the Load Event of the reports. However when I use...
  6. T

    Does Access support JOIN ON LIKE SQL statements

    Thanks for your suggestion, MarkK. I'm not 100% sure I understand what you mean. While I was waiting for a response, I tried setting up an extra field in the table that holds the composite part number that shows the ID field of the Orderdetails table. This is the left side of the composite...
  7. T

    Does Access support JOIN ON LIKE SQL statements

    Hi, I am trying to join together a number of tables based on part number, where one of the tables the part number is embedded in a string in the field. ie PartNo RLT551A joined to 1234_RLT551a. I have googled and found the concept of a SELECT * FROM table a JOIN Table b on b.column LIKE '%' +...
  8. T

    Which event to attach code to

    Thanks pr2-eugin, The calculation is not going into a Table, that is exactly the point. I am unable to create a query that the whole form can run off as I have two different reference part numbers that can't be easily joined to make the form recordsource query. Hence I have to calculate...
  9. T

    Which event to attach code to

    Hi, I have the code below, that is required to calculate the cost of a part, based on the rollup of the component parts. I have the code attached to the subform On Current event, however it seems to be applying the RRP to all of the records currently showing in the subform of the main form...
  10. T

    Best set-up to ensure data integrity

    Hi, I'm making some changes to my order management database to include the component breakdowns of parts rather than just the parent part numbers. Currently, I have my orderdetailsubF running off a query that joins together the orderdetailT to the partslistT to show the description and...
  11. T

    Me. not returning details from current record

    Thankyou so much Mark. I knew it had to be something simple. Working perfectly now.
  12. T

    Me. not returning details from current record

    Hi, This si such a simple thing but I can't work out why it's not working. I am wanting to create a directory based on the customer number and name each time the "Add Customer" form is closed. For some reason, the Me.CustNum and Me.CustName are returning the details for the first record in the...
  13. T

    Using a query to re-join a split table

    Hi, Sorry, the above description isn't very good. I currently have an Order Details Table that holds the individual part number information for jobs. This table uses a couple of attachment type fields and as such is now getting very large. I am looking to split the table so that the attachments...
  14. T

    Dynamically setting recordsource for a form

    Hi, Can I please get some help with whether my logic is correct on a change I'm making before I start troubleshooting why it's not working. I currently have a Job Management System where the Customer Order Form displays all jobs via a main form and an order details subform. This form is used...
  15. T

    HELP! Database suddenly gone unstable

    Hi Bob, There is a front end on everyone's PC. It has worked fine like this for 8 months. It was only once the back end databases were moved to the NAS that the corruption occurred.
Back
Top Bottom