I have a program where I am calling an application programmed in C#. When my process finish, it writes a value on a table on my Access database which a want to read. I am using a recordset to get this value on my code VBA. But the problem is that sometimes I am not getting the value updated if I don't wait for a few seconds (not always the same time).
I was looking on internet but the only thing i found was that Access has an interval of refreshing when the values are modified by other user and this applies to the forms for example. But I am not working with a form, in this case I am just reading the value with my recordset.
I would like to know if there is a way to force the database to refresh before reading my value.
Thanks in advance for your replies
I was looking on internet but the only thing i found was that Access has an interval of refreshing when the values are modified by other user and this applies to the forms for example. But I am not working with a form, in this case I am just reading the value with my recordset.
I would like to know if there is a way to force the database to refresh before reading my value.
Thanks in advance for your replies