Windows 10: Access Database Problem

Discus and support Access Database Problem in Windows 10 Software and Apps to solve the problem; It's been SEVERAL years since I did any Access db programming and design. I do remember that the Wizard was often a helpful tool for things like List... Discussion in 'Windows 10 Software and Apps' started by robertd, Jan 16, 2018.

  1. Access Database Problem


    It's been SEVERAL years since I did any Access db programming and design. I do remember that the Wizard was often a helpful tool for things like List and Combo Boxes. No doubt you've been there, but thought I'd throw it out there in case you hadn't.

    Good luck with your meeting.
     
    Wiley Coyote, Jan 18, 2018
    #16
  2. robertd Win User

    Thanks nbcaldon for the pointer to use the Text rather than Value. This has fixed things. But as I can only access PersonTypeID.Text when that field has control I had to put the code for checking the constancy of it into the On Exit event. That leaves consistency code concerning another field in the routine I posted. As regards the Select function the first item is flagged by n = 0, the next by n = 1 etc. As far as I see things here the order is that which you have in the table that feeds the combo box. However, I have not yet succeeded if getting Selected(n) to return sense. So far I always got False even when I manually selected a value with the cursor. I do not need this as yet but if I get there I will get back to you.

    best wishes
     
    robertd, Jan 18, 2018
    #17
  3. nbcaldon Win User
    This is what I meant for a test:

    For n = 0 To 1
    MsgBox n & ": " & Me!Combo2.Selected(n)
    Next n

    Actually returns the numeric 0 or -1, but can be tested for True and False.

    Looking a but more into MVFs, I cannot find any documentation to say what the Value property should return. I did find someone saying it returned a recordset, but I could not assign it successfully to a recordset object, so I suspect this might not be correct.

    As regards where the data is stored, I have seen mention of hidden tables, but there are no simple hidden tables. It appears that the data is stored in a non-trivial way in the system tables, partly (but not entirely) in 'MSysComplexColumns'.

    My recommendation would be that MVFs should only be used for simple applications where the wizards give you what you need and you do not need to get at the data in code. Otherwise, I think it is more manageable to stick to explicit many-to-many join tables and use subforms instead of multi-value combo boxes. I don't expect everyone to agree with this.
     
    nbcaldon, Jan 18, 2018
    #18
  4. robertd Win User

    Access Database Problem

    OK, I see, thanks. I agree with you about the multi-entry combo box. But the charity specified that they wanted the facility in several fields to multiple entry. As I am not involved in its running or direction and only got involved database wise on a voluntary basis, what they said goes.

    Cheers
     
    robertd, Apr 5, 2018
    #19
Thema:

Access Database Problem

Loading...
  1. Access Database Problem - Similar Threads - Access Database Problem

  2. How to access an old WHS database.

    in Windows 10 Gaming
    How to access an old WHS database.: I have an old WHS server with a large database of archival files. This was the version where the database was separate from the backups so I just kept using it for file storage. Over time, the server has become invisible to other PCs on my network which are now Win10 and Win...
  3. How to access an old WHS database.

    in Windows 10 Software and Apps
    How to access an old WHS database.: I have an old WHS server with a large database of archival files. This was the version where the database was separate from the backups so I just kept using it for file storage. Over time, the server has become invisible to other PCs on my network which are now Win10 and Win...
  4. Database / CRM / MS Access software

    in Windows 10 Software and Apps
    Database / CRM / MS Access software: I have some MS Access experience and I really like the whole "build your own form / database / app" flexible concept. The flaw with Access, in my opinion, is the license cost and not being able to host it online. Does anybody have any recommendation on similar software that...
  5. Access database error

    in Windows 10 Software and Apps
    Access database error: I have an Access database, that I am running in Access from a O365 subscription. No one else accesses my database. I have a transaction function that executes an update statement when the main form loads. After that, I cannot do anything because I get a "You do not have...
  6. KB4484238 causing problems with Microsoft Access Database engine 2010 and making database...

    in Windows 10 Installation and Upgrade
    KB4484238 causing problems with Microsoft Access Database engine 2010 and making database...: Ever since I installed KB4484238, my Microsoft Access database has begun to bloat. The filesize gets excessively large and all my program is doing is polling the database every five seconds for data. I use a stored procedure to do this. Before KB4484238 was installed, there...
  7. Problem with KB4484127 and access database engine

    in Windows 10 Installation and Upgrade
    Problem with KB4484127 and access database engine: Hello, We have an desktop application in production. After windows update with KB4484127, the application can not connect to the database. the application has folowing details - MFC c++ application using msado25.h. - uses the connection string :...
  8. Access database error "Unable to open connection to database" in Windows 10 only

    in Windows 10 BSOD Crashes and Debugging
    Access database error "Unable to open connection to database" in Windows 10 only: I have a Visual Studio application that was custom written many years ago for me. It uses the Microsoft Access database (.mdb). In all previous version of Windows (XP to 7) it functions perfectly, In Windows 10 I get an error message "Unable to open connection to database"....
  9. Problem with Access database after KB4487017/KB4487026

    in Windows 10 Installation and Upgrade
    Problem with Access database after KB4487017/KB4487026: We use an Access 97 database for our applications as a master database, so we can easily destribute this to customers. We access this master database using Adox to get the tables and columns (fields), compare it to the live SQL database and make changes where necessary....
  10. Running Access databases

    in Windows 10 Support
    Running Access databases: Hey guys, I hope I'm in the right section but, here's my problem. I bought this tablet with 10 already installed. I then installed Office 2007. OK no problem so far (my spreadsheets run fine). But then I transferred over a couple of my Access 2007 databases. Each seemed to...