Recent content by Thomko

  1. T

    MS Access 2007 - Macro's

    The macros might be just hidden. In Access 2003 you can unhide hidden object with Tools -> Options -> View -> Show Hidden Objects (or the like, I do not have Access available right now). There must be an equivalent in A2007 HTH Thomas
  2. T

    Nested RIGHT JOINs ?

    Hello Jean-Louis, welcome to AWF. Here some links on ACESS/JET SQL Fundamental Microsoft Jet SQL for Access 2000 Intermediate Microsoft Jet SQL for Access 2000 Advanced Microsoft Jet SQL for Access 2000 And a page about JOINs LEFT JOIN, RIGHT JOIN Operations You might want to learn a bit...
  3. T

    Complex Find Duplicate Query

    I would propopse a solution with helper queries. First create a query Q1 that lists the records where all three fields are identical (NOT a duplicate per your definition) Now create a query Q2 that lists all records with identical Invoice Number and Vendor Name (should contain all records from...
  4. T

    Re: Navigate Internet Explorer using VBA

    Re: Navigate Internet Explorer using VBA Good to hear that you got it working. Just one hint: Finding a named element and navigate from there to the (only) child should be a bit more robust against site redesigns than picking the nth DIV item. For a one shot solution the approach is perfectly...
  5. T

    Re: Navigate Internet Explorer using VBA

    Re: Navigate Internet Explorer using VBA Hello codactu, you try to click the TD element with code, but I think that the link is located in the contained DIV element. If you inspect the page with Firefox+Firebug you will see that the TD element spans the whole page whereas the DIV contains only...
  6. T

    Another TreeView Control question

    hascons, check the EnsureVisible methode of node objects. Here a link. http://visualbasic.freetutes.com/learn-vb6-advanced/lesson4/p13.html HTH Thomas
  7. T

    table naming when exporting from macro

    Welcome to AWF, you should be able to calculate the file name in the TransferText macro action with a formula like this: =Format(Date();"yyyymmdd") & "_Filename.txt" Check the help on the Format() function to determine the date/time format string you need. HTH Thomas
  8. T

    searchbox to filter form

    Hello James, I would do that with VBA, so I cannot comment on the macro syntax, but by the error message I would think that the macro does not know what form the filter (the form or the subform). Just do as the message says. Add a SelectObject Marcro action (giving the subform the focus) before...
  9. T

    Link Access query to Excel Combo Box

    This requires Excel VBA using ADO (at least as far as I know). Here how I would do it. 1) Connect to Access from Excel: Check help on Connection.Open 2) Read the data from Access: Check help on Recordset.Open 3) Write data to a (hidden) Excel sheet and define a named range containing all the...
  10. T

    Multiple Query Results into one query

    Sarma, you need outer joins. In the query builder, double click the line that links your tables (the join). A dialog should pop up, that has three options. The default is the inner join (Option 1). Select the option that is called "Contains ALL records from Players table ..." and OK out. Now...
  11. T

    Can't seem to turn off control box

    Pat, here a different approach, avoiding your problem in the first place. I am always annoyed, if a program does not have the standard GUI features (like the X in the upper right corner). You could address your need by sticking the code that needs to be executed on form close into the...
  12. T

    How to read event definitions behind ActiveX controls with VBA code?

    Hello Tony, thank you very much for the info. I now have another idea or two how it may work. I will need to study more (and learn more about the inside of activex controls). Your links will be a great help. E.g this snippet from one of the pages sounds promising: IProvideClassInfo2...
  13. T

    How to read event definitions behind ActiveX controls with VBA code?

    Hello Tony, thank you for your reply. As you point out in your video, there are five events easily accessible that are common to all ActiveX components (OnEnter, OnExit, OnGotFocus, OnLostFocus, OnUpdated) but the others are not. I tried all variations of your tip (class wrapper) I could think...
  14. T

    How to read event definitions behind ActiveX controls with VBA code?

    Here the scenario: I want to analyze forms via VBA code and see which controls have events behind them and of what type they are (Event Procedure, Macro or Expression). Now the problem: I have code for the standard controls like Text Boxes, Option Buttons etc. that works fine...
  15. T

    Add Query Functionality to Existing Form

    I attached a "quick-hack" DB that shows the concept for you to study. You will have to make changes as drop-downs for first and last name are not the best idea (these fields are not independent). For a Query button: Call setFilter() from a command button For a Clear button: set...
Back
Top Bottom