Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. dhookom

    Print Table attachment

    Daniel answered a similar question here. Apparently you must save the attachment as a file first. He has some other good practices in his posting.
  2. dhookom

    How to get 2 codes to work together.

    You got the same opinion in MS Answers about your unorthodox use of the filter in the on load of the report. Consider checking it out since between Scott and myself, there is over 50 years of developing in MS Access.
  3. dhookom

    How to get 2 codes to work together.

    I never filter a report after opening. I almost always use the where condition in the DoCmd.OpenReport method. This would remove the first part of your code.
  4. dhookom

    Publisher Automation from Access Frustration

    Thanks for getting back to us.
  5. dhookom

    Publisher Automation from Access Frustration

    I copied your code and created a similar Publisher file. It seemed to work some times but not always. I had a hesitation in the code as Publisher was attempting to retrieve printer information. I have a wireless printer as my default. If I waited for the printer dialog to disappear, there was no...
  6. dhookom

    Excel: Formula only works with certain numerical values

    Give users an xlsm with a small subscript that sets trusted locations.
  7. dhookom

    Error 2004

    I assume you have considered upgrading to supported Access and Windows versions.
  8. dhookom

    Excel: Formula only works with certain numerical values

    Have you considered creating a VBA function that returns the appropriate values. You might even find one on line. Your massive expressions seem unmanageable to me.
  9. dhookom

    Subform not updating in parent form

    It looks like you have the link master/child set to the PrefixID. There is no reason to set this in the recordsource.
  10. dhookom

    Subform not updating in parent form

    If this were my application, I would get rid of the lookup tables and replace with combo boxes. Also use only Link Master child to the two fields from tblCatDetails.
  11. dhookom

    Subform not updating in parent form

    Are you using the link master child? This is the recommended method which allows you to remove the WHERE clause from your recordsource.
  12. dhookom

    Subform not updating in parent form

    Why all of the tables in your query. Typically the lookup tables aren’t included in the recordsource. Use combo boxes to display the descriptive fields.
  13. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    There are data macros in Access that essentially create triggers that allow tracking data updates. I haven’t used these but I expect you could find some great resources on the web.
  14. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    I guess I don't know your exact requirement but maybe I don't want to ;).
  15. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    If the code is in a module, I expect that to mean it is not in a form otherwise you would have responded to my question "What form or subform hosts the code?". Since the code is in a module, I would expect any reference to a control on a form would begin with "Forms!". You can test your...
  16. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    What form or subform hosts the code? Every expression on the page I linked to begins with either "FORM" or "Me." When referencing a subform, keep in mind the sorcerer object and control name might not be the same.
  17. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    Where to begin… Your sql has FROM db which is a database object and should be a table or query. If subfrmIS-1a is a subform you need to reference it as a control on the main form. There may be other issues but these are the most obvious.
  18. dhookom

    WHERE clause in the Set command of an db.OpenRecordset method

    I would build an SQL statement for the recordset. 'this is partial code and assumes Link1 is text rather than numeric. Dim strBase as String Set db = CurrentDb strBase = "SELECT * FROM … WHERE Link1 = """ & [subfrmIS-1c].[Form]![qryIS-1].[Link1] & """ Debug.Print strBase Set rstBase =...
  19. dhookom

    Copy data between SQL and Oracle

    Thanks for the update. I provided technical support for about 30 factories in North America. Each factory had to submit annual production targets for each product. I distributed Excel files that pulled in the previous results so they could plan for the next year. After updating possibly...

Part and Inventory Search

Back
Top