Search results

  1. D

    Table Design and Efficiency Help

    Many on this thread have provided very good input. To help illustrate what we mean by junction tables and provide one way a portion of this can be done, you could follow a design pattern like the below diagram. This overall would provide the following benefits: tblEmployeePositionHistory...
  2. D

    We Must add Debug Section for beginners...

    I had a similar interpretation as @Edgar_. Many beginners who are learning Access (or even experienced users with strong database skills) may not be programmers by trade and thus may not be aware of the basics around debugging. Covering that could potentially be useful if not already addressed...
  3. D

    Solved Update recordset skipping the last record

    Currently based on the OP's code posted above, I see nothing from the recordset being used in the UPDATE query. For example, currently, you are looping over each record in the recordset, but you have nothing in the WHERE of your UPDATE query or in the SET that is being used from the recordset...
  4. D

    Solved Proofing lineup order of library references

    One thing to check on this, if you are on a recent version of Access (such as version 16), DAO is now defined as part of the reference to "Microsoft Office 16.0 Access database engine Object Library" where you should be able to remove your separate reference to DAO 3.6 to avoid any conflicts.
  5. D

    Solved Query to find users not currently assigned to equipment

    @arnelgp I was speaking as more of a rule of thumb to avoid "NOT IN (SELECT*..." in the context of the broader discussion about unmatched query approaches. I understand in the OP's specific instance that it wouldn't happen because the field is part of a PK and can't be NULL. From much...
  6. D

    Solved It takes too long to download data from server

    I would add one more approach to this that isn't always thought of and that can perform very well when using a backend RDBMS, assuming the OP's dashboard does not need to be editable (I'm assuming it may not need to be editable based on the OP's screenshot and noting it is a dashboard that is...
  7. D

    Solved Query to find users not currently assigned to equipment

    @Ken Sheridan 's point regarding unexpected results with NOT IN when there may be NULLs is very important and something that has bit me in the past. As one other consideration along those same lines, I would suggest avoiding using NOT IN (SELECT .....) altogether because inevitably there will...
  8. D

    Microsoft Access: Edge Browser Control is finally here :)

    @Edgar_ I have been using the debugger and confirm that the Edge Browser Control is in ReadyState acComplete before calling RetrieveJavascriptValue. The Browser perfectly renders the html/css/javascript using the dynamic injection method with ExecuteJavascript, it is just that calling...
  9. D

    Microsoft Access: Edge Browser Control is finally here :)

    I can only conclude the above scenario in my previous post is due to a bug in the Edge Browser Control. I have used the older web browser control extensively with only dynamic html/css/javascript without issue, although at this point the old control does not support modern web standards. With...
  10. D

    Solved Code running report despite default set to not

    Try checking the definition of vbDefaultButton2 in the context of your database. You can right-click on vbDefaultButton2 from your MsgBox call then click Definition. It should bring you to to the definition where it will indicate the value of 256. If vbDefaultButton2 is defined locally...
  11. D

    How Sql Server can interact with Microsoft Access (or other application) ?

    I think the difficulty in trying help on this is that there isn't enough information provided to understand the problem that you are trying to solve. For example: How quickly do you need the clients to be notified of changes (half a second, 5 seconds, 30 seconds, a minute). How many...
  12. D

    Solved Code running report despite default set to not

    If you haven't already tried Compact & Repair after you decompiled, give that a try. If that still doesn't work, you could try the MZ-Tools (MS Access add-in). It is a 3rd party add-in (I have no affiliation, just a customer myself) and you can download a trial version. Once installed...
  13. D

    Solved Code running report despite default set to not

    Good computer science concepts discussion. @The_Doc_Man explains it well -- addition works in this case only because the bit patterns don't overlap. But, if you mistakenly add the same constant value more than one time, addition would corrupt the bitwise representation but using bitwise OR...
  14. D

    Solved ShellExecute Outlook.exe

    I tested my above method and it works for me -- MS Access 365 64bit, Windows 11. If you haven't tried option 7 (SW_SHOWMINNOACTIVE), give it a try. SW_SHOWMINIMIZED doesn't work as it activates the application, which for Outlook results in the window not remaining minimized.
  15. D

    Solved ShellExecute Outlook.exe

    Try the below option. It should open outlook without activating it so it should remain minimized. Const SW_SHOWMINNOACTIVE = 7 result = ShellExecute(0, "open", "OUTLOOK.EXE", vbNullString, vbNullString, SW_SHOWMINNOACTIVE)
  16. D

    Microsoft Access: Edge Browser Control is finally here :)

    Hello everyone, I have been attempting to use the Edge Browser Control with dynamic HTML. This is ideal for my use case in using the Browser Control to generate modern UI and graphs through use of html/css/javascript. The issue I'm having is that while the Edge Browser Control works great to...
  17. D

    Hello from Maryland

    Hello everyone, I am a longtime MS Access application developer. First learned the basics many years ago in an accounting class where we had to build a simplistic relational database with a basic GUI. In the last several years, my work has focused on using MS Access with large SQL Server...
Back
Top Bottom