A
Alain
Hi to all,
I am encountering a very strange problem and I need to fix it.
I am using the Access auto wizard to insert a command button on a form to
open a form ans show a specific recordset. after it is done with matching
the proper field for the criteria, I click on the button and nothing
hapenned at all, I even insert a breask in the code to see where the error
might occur but no success, it seem that the code is ignored completely
since I cannot get the code to stop at the break,
Even more I do not get an error message at all
I have tried the same process on a new form and it work perfectly, same code
same criteria, also I have notice something strange, the field I use for the
criteria is not bring identify properly meaning when you insert a field on
a form, the name of that control should be the same as the field name but in
my case the name is text517 or else since I have tried multiple time to
delete the field from the form, save the form, close it, re-opened it and
insert the same field again and again the control name is not the field
name at all but text518 this time. I have check all control on my form to
see if the control might be already there but no it is not ...
So my question is simple: what can cause this situation ?? why a simple
control to open a forma is not working from the wizzard ??
I am going nuts here and I would like to understand whant can cause this
problem, no matter what I do nothing is working
TIA
Alain
I am encountering a very strange problem and I need to fix it.
I am using the Access auto wizard to insert a command button on a form to
open a form ans show a specific recordset. after it is done with matching
the proper field for the criteria, I click on the button and nothing
hapenned at all, I even insert a breask in the code to see where the error
might occur but no success, it seem that the code is ignored completely
since I cannot get the code to stop at the break,
Even more I do not get an error message at all
I have tried the same process on a new form and it work perfectly, same code
same criteria, also I have notice something strange, the field I use for the
criteria is not bring identify properly meaning when you insert a field on
a form, the name of that control should be the same as the field name but in
my case the name is text517 or else since I have tried multiple time to
delete the field from the form, save the form, close it, re-opened it and
insert the same field again and again the control name is not the field
name at all but text518 this time. I have check all control on my form to
see if the control might be already there but no it is not ...
So my question is simple: what can cause this situation ?? why a simple
control to open a forma is not working from the wizzard ??
I am going nuts here and I would like to understand whant can cause this
problem, no matter what I do nothing is working
TIA
Alain