Couple of questions regarding Microsoft Access Frontend with Dataverse for teams Backend

Anonymous
2025-01-08T10:56:33+00:00

Hi all

I am based in the UK.

I have written a Microsoft Access Frontend database with a Dataverse for Teams backend. All seems well except I have encountered a couple is issues I would like help with.

The first is the date format. The forms all view and record dates in UK format (dd/mm/yy) however when it writes to the dataverse table it is saved as US format. 7-Jan-25 saves as 1-Jul-25. Tried forcing by using the VBA Format(Date, "dd-mmm-yyyy"). This doesn't seem to work.

Secondly. It is a multi user database. Each user has a copy of the accde on their desktop. Each user can write records to a dataverse table simultaneously. This all works fine. However when the form that lists all the records is refreshed they can see their new records but not new records from other users. New records for other users only appear if I close the database Front end and reopen.

Any Ideas?

Microsoft 365 and Office | Access | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. George Hepworth 22,220 Reputation points Volunteer Moderator
    2025-01-08T14:24:20+00:00

    The date format is not really a problem in that the actual date value saved in the table is the same in both cases. That's true regardless of the database in use. I assume that Dataverse is no different in this regard although there other, more problematic differences.

    However, you are using Dataverse, which imposes a degree of overhead in the way it handles things. Check the settings in your M365 account where the Dataverse tables are located. Perhaps you can adjust regional settings there. You may need assistance from an administrator, depending on how the account was set up. I don't know how to advise you on finding it yourself, unfortunately. M365 is a labyrinthic maze to navigate unless you live and breathe it as an administrator.

    With regard to your second question, you might be able to work around that limitation in Dataverse by requerying the form's record source. Apparently a refresh isn't effective for retrieving other records not present in the record source when the form opens.

    Since the issue is with records added by other users, you might need to requery the source prior to initiating a new record addition/update by the user.

    How is performance otherwise compared to a local accdb back end? Or an accdb back end on a network location? How many records are in these Dataverse tables? I ask because it is frequently reported that performance can be quite unsatisfactory with Dataverse and large recordsets.

    0 comments No comments
  2. Anonymous
    2025-01-08T16:11:44+00:00

    Hi.

    I have managed to resolve the Date issue. The database FE uses UK date format (dd-mm-yy). I have used VBA to convert this to US format (mm-dd-yy) before sending to the dataverse table. It seems to be OK now.

    Because it is a multi user database I initially saved the BE to a company network. This proved to be very problematic. Performance was very slow and we had major issues with record locking (up to 30 users). The guys have been using the Dataverse BE version since the beginning of the year and the feedback I have been getting has been very positive. The dataverse record sets only only have about 2k records at the moment, but this could be close to 100k by the end of 2025. I will keep monitoring perfomance.

    I chose to use Access as the front end because I have several years experience building Access databases. The plan this is to replicate the Access database FE in Power Apps using the same Dataverse tables. (this is going to be a steep learning curve for me).

    0 comments No comments
  3. George Hepworth 22,220 Reputation points Volunteer Moderator
    2025-01-08T19:29:47+00:00

    I'd be very interested in how things work out over time with that rate of growth. I think there are very few implementations of Access/DV so far, and not a lot of real-world information about it, only anecdotal stuff.

    I LOVE the ability to create hybrid apps with PowerApps, although I prefer Azure SQL for the back end. Several pros and cons there. I have a series of YouTube videos on my own adventures with PA from the point of view of an Access developer, if you're interested.

    https://www.youtube.com/playlist?list=PLQgLuLFqAr9-PoMhLpCWZmtzwgEulKvH5

    0 comments No comments
  4. Anonymous
    2025-01-10T12:19:32+00:00

    Ok. Done some more investigating. I think my second issue is something to do with the data being cached. So my question now is how do I clear/update the cache with records created by other users

    0 comments No comments
  5. George Hepworth 22,220 Reputation points Volunteer Moderator
    2025-01-10T13:21:59+00:00

    I don't recall whether requerying, rather than refreshing, the form's recordsource will resolve that problem with linked Dataverse tables. It does with other linked tables.

    https://599cd.com/tips/access/requery-v-refresh/

    0 comments No comments