Hi
Access 2007, .mdb file
I've a quick (I hope) architecture question. Eventually I want to splt my DB into FE and BE and go multi-user. My Forms are based on ADO RSs and I use a fair few SQL Transactions over ADO connections.
I've been trying to get my two WINXP m/cs to map drives to one another but without much luck so whilst I just nip off and do a 3 year degree course on WINS/DNS/Domians?TC/UDP NetBIOS and Firewalls to get my 2 PCs to talk to one another..... give me strength!
If I have one user using a form which opens a Transaction (begintrans) then modifies records in a table, does this really lock the records it's updating until there's either a commit or rollback trans?
In some cases, mid-transaction, I prompt users for info at which point they immediately go and put the kettle on. What actually happens if, in the meantime, another user uses the same form on another machine and attempts to update the same records? Does the second user's transaction fail with a meaningful error that can be trapped in the form module?...
I know the theory but I never believe anything in this industry until I've seen it with my own and a hundred others' eyes.... I have seen for example a situation when developing a form, where my form has failed mid-transaction (leaving it outstanding).... and i've run an update query in the QBE and it appears to work....or at least it does not fail.... but guess what it hasn't!
Any tips/pointers gratefully rec'd?... thnx
Access 2007, .mdb file
I've a quick (I hope) architecture question. Eventually I want to splt my DB into FE and BE and go multi-user. My Forms are based on ADO RSs and I use a fair few SQL Transactions over ADO connections.
I've been trying to get my two WINXP m/cs to map drives to one another but without much luck so whilst I just nip off and do a 3 year degree course on WINS/DNS/Domians?TC/UDP NetBIOS and Firewalls to get my 2 PCs to talk to one another..... give me strength!
If I have one user using a form which opens a Transaction (begintrans) then modifies records in a table, does this really lock the records it's updating until there's either a commit or rollback trans?
In some cases, mid-transaction, I prompt users for info at which point they immediately go and put the kettle on. What actually happens if, in the meantime, another user uses the same form on another machine and attempts to update the same records? Does the second user's transaction fail with a meaningful error that can be trapped in the form module?...
I know the theory but I never believe anything in this industry until I've seen it with my own and a hundred others' eyes.... I have seen for example a situation when developing a form, where my form has failed mid-transaction (leaving it outstanding).... and i've run an update query in the QBE and it appears to work....or at least it does not fail.... but guess what it hasn't!
Any tips/pointers gratefully rec'd?... thnx