Raffles666
IS-IT--Management
I have a tricky little problem (well, to me).
I have used the Data Designer (DataEnvironment) to create all the links to my mdb and the containing tables and fields.
This works well - and is quite fast. However, this is my problem...
1) When I first start my program and do a record count - all is well.
2) If I do not make any changes to the mdb (data wise) - all is still well (.RecordCount is still correct - obviously).
3) I now download a new copy of said database (using the VB program to download it) - using the same name.
4) The databse does get over-written with no problems - however, if the database contains new records, the .RecordCount still comes up with the old number of records.
I can only assume that this is because the original mdb is being held in memory.
So, my question is - how do I 'flush' this memory and populate it with the contents of the updated mdb?
There is probably a very simple answer to this - and I'm looking past it. So, any help would be appreciated.
Thanks
Old school Alchemy engineer - trying to keep up with the times
I have used the Data Designer (DataEnvironment) to create all the links to my mdb and the containing tables and fields.
This works well - and is quite fast. However, this is my problem...
1) When I first start my program and do a record count - all is well.
2) If I do not make any changes to the mdb (data wise) - all is still well (.RecordCount is still correct - obviously).
3) I now download a new copy of said database (using the VB program to download it) - using the same name.
4) The databse does get over-written with no problems - however, if the database contains new records, the .RecordCount still comes up with the old number of records.
I can only assume that this is because the original mdb is being held in memory.
So, my question is - how do I 'flush' this memory and populate it with the contents of the updated mdb?
There is probably a very simple answer to this - and I'm looking past it. So, any help would be appreciated.
Thanks
Old school Alchemy engineer - trying to keep up with the times