kbsudhir
08-15-2009, 05:05 PM
Hi All,
I am using Access 2003 in my office. I display all the records pulled by the queries in a datasheet view in subform. Also edit the records in the subform.
I changed the properties of both my Parent form & subform i.e enabled & Locked to No & Yes respectively also I changed the "Allow Edit" property to "No", as I do not want everbody to change the records.
I use VBA.environ("Username") to find the user & get the data from the table to ensure whether he has the right to change/edit any records.
Now I got two problems:
1. I was not able to change the properties through VBA.
2. Even when I manually changed the properties of both parent & sub form still not able to change the records.
Well, due to weekend I decided to test the issue at my house where I have Access 2007. Here in default setting I am not able change any records....!!!!!!!!!!!
I am so confused :banghead: :banghead: :banghead: :banghead:
Please let me know where I could be messing & have not changed anything in the test database in access 2007 still issue continues to haunt me.
Regards
Sudhir
I am using Access 2003 in my office. I display all the records pulled by the queries in a datasheet view in subform. Also edit the records in the subform.
I changed the properties of both my Parent form & subform i.e enabled & Locked to No & Yes respectively also I changed the "Allow Edit" property to "No", as I do not want everbody to change the records.
I use VBA.environ("Username") to find the user & get the data from the table to ensure whether he has the right to change/edit any records.
Now I got two problems:
1. I was not able to change the properties through VBA.
2. Even when I manually changed the properties of both parent & sub form still not able to change the records.
Well, due to weekend I decided to test the issue at my house where I have Access 2007. Here in default setting I am not able change any records....!!!!!!!!!!!
I am so confused :banghead: :banghead: :banghead: :banghead:
Please let me know where I could be messing & have not changed anything in the test database in access 2007 still issue continues to haunt me.
Regards
Sudhir