Can't you see the error 2105 in the file that I have uploaded when opening form 'frmClientsExtra' or 'frmClientsNew'?
I'm not sure if anybody can replicate the error. Probably not. To my experience, it seems strange and I never came across this error in this particular situation.
That is why I have shared the file so others can experience it and eventually come up with a reason for the error. Once we got the reason the solution is easy.
You are right about the datasheet. Once removed (convert the split form into a single form) the error disappears. So it seems that there is a synchronization problem or better I think that this is a Trust issue. For some reason Access do not Trust the datasheet side of the form and opens the RowSource in Disable mode (as it does when there is a Trust violation), therefore not allowing any executable code to run hence the error 2105 on the GoTo line and if this line is commented out then the error 2950: Reserved Error on the setFocus line.
If this is so, my question is: How did this happen?
I have rebuilt the frmClientsNew from scratch and works fine. I copied the VBA code from the old form to the new. it works well. I had a demo today with the client and everything went smooth.
Split Forms have worked fine for me so far. all other forms are split forms and they work well. Besides this issue I see no reason to avoid them. They give the client an 'Excel' kind of feeling and they seem to like it as, I think, they see something similar to what they are used and the 'fear' the database 'monster' eases out...
I'm not sure if anybody can replicate the error. Probably not. To my experience, it seems strange and I never came across this error in this particular situation.
That is why I have shared the file so others can experience it and eventually come up with a reason for the error. Once we got the reason the solution is easy.
You are right about the datasheet. Once removed (convert the split form into a single form) the error disappears. So it seems that there is a synchronization problem or better I think that this is a Trust issue. For some reason Access do not Trust the datasheet side of the form and opens the RowSource in Disable mode (as it does when there is a Trust violation), therefore not allowing any executable code to run hence the error 2105 on the GoTo line and if this line is commented out then the error 2950: Reserved Error on the setFocus line.
If this is so, my question is: How did this happen?
I have rebuilt the frmClientsNew from scratch and works fine. I copied the VBA code from the old form to the new. it works well. I had a demo today with the client and everything went smooth.
Split Forms have worked fine for me so far. all other forms are split forms and they work well. Besides this issue I see no reason to avoid them. They give the client an 'Excel' kind of feeling and they seem to like it as, I think, they see something similar to what they are used and the 'fear' the database 'monster' eases out...