Hi,
I'm new to Ado .Net, i already created a recordset and datatables and also fill in all the data to my dtable_name, but as far I understant, I can manipulate and then populate modified or newer records to the DB server, for example if userA insert a new record and the it is saved to the DB(Database) server, userB won't be able to retrieve that record from it's local dtable because it is local.
So, my question is, Is it possible to retrieve newer records only and then update the local dtable of userB, so dtable can be used to perform a sale?, if so, how to?
For example
userA dtable: (before insertion of a new recors)
Id custname address
1 jack jack_address
UserB dtable: (Before executing a sale to a customer)
Id custname address
1 jack jack_address
Now, userA insert a new record but userB does not have it yet because
He is using his local dtable, staying both like this:
userA dtable: (With new insertion on local table and also on the DB server)
Id custname address
1 jack jack_address
2 Moe Moe_address
userB dtable: (need to do some sales to "moe" but its local table does not have it yet)
Id custname address
1 jack jack_address
If I update the dtable from the DB server it last a lot and userB needs speed to do the sale and the faster way is just getting newer records only and then update the dtable (the original table's records from db server is about 10,000).
need help![Confused :confused: :confused:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I'm new to Ado .Net, i already created a recordset and datatables and also fill in all the data to my dtable_name, but as far I understant, I can manipulate and then populate modified or newer records to the DB server, for example if userA insert a new record and the it is saved to the DB(Database) server, userB won't be able to retrieve that record from it's local dtable because it is local.
So, my question is, Is it possible to retrieve newer records only and then update the local dtable of userB, so dtable can be used to perform a sale?, if so, how to?
For example
userA dtable: (before insertion of a new recors)
Id custname address
1 jack jack_address
UserB dtable: (Before executing a sale to a customer)
Id custname address
1 jack jack_address
Now, userA insert a new record but userB does not have it yet because
He is using his local dtable, staying both like this:
userA dtable: (With new insertion on local table and also on the DB server)
Id custname address
1 jack jack_address
2 Moe Moe_address
userB dtable: (need to do some sales to "moe" but its local table does not have it yet)
Id custname address
1 jack jack_address
If I update the dtable from the DB server it last a lot and userB needs speed to do the sale and the faster way is just getting newer records only and then update the dtable (the original table's records from db server is about 10,000).
need help