Hello,
I have had some wierd things happen with Access Forms. First the linkcriteria is getting passed correctly(set properly in the openform command) when the form_open function is called in the new form the openargs variable is null, why is that? Also some global variables are getting lost somewhere, i have to close the form and open it again. I am trying to get away from useing globals but this is still disconcerting. The only other things is that I have seen the sql fail and rollback the transaction and yet the changes are still saved. I don't get it. One question, when you use docmd.menuitem to save, does it respect transactions(meaning if an error occurs in a seperate sql statement and I rollbakc the transaction, will it also rollback. Also is there a good tutorial somewhere about creating classes in VBA(with inheritance and polymorphism - or their limitations)? I realize that some of my problems might be my programming techniques, I am asking to learning so don't be shy on the criticism(do it in love though
). Thanks for answering my silly questions.
Questions:
1) lost Open args
2) lost variables
3) flaky transactional stuff
4) building classes in VBA
5) why is the sky blue
6) why do elephants like peanuts
.....
Thanks
JoeSmoe
I have had some wierd things happen with Access Forms. First the linkcriteria is getting passed correctly(set properly in the openform command) when the form_open function is called in the new form the openargs variable is null, why is that? Also some global variables are getting lost somewhere, i have to close the form and open it again. I am trying to get away from useing globals but this is still disconcerting. The only other things is that I have seen the sql fail and rollback the transaction and yet the changes are still saved. I don't get it. One question, when you use docmd.menuitem to save, does it respect transactions(meaning if an error occurs in a seperate sql statement and I rollbakc the transaction, will it also rollback. Also is there a good tutorial somewhere about creating classes in VBA(with inheritance and polymorphism - or their limitations)? I realize that some of my problems might be my programming techniques, I am asking to learning so don't be shy on the criticism(do it in love though
Questions:
1) lost Open args
2) lost variables
3) flaky transactional stuff
4) building classes in VBA
5) why is the sky blue
6) why do elephants like peanuts
.....
Thanks
JoeSmoe