Is it a bug? Or is it a miracle?
I had a problem that didn't make sense a couple of days ago that I found
humorous and I thought I'd share it with you.
I had a form with, amoung others, two fields; Status and EmployeeID.
EmployeeID was hidden, the other visibile. If the status was changed to
completed, it was to fall of the list of working items for the employee.
So in my testing I would change the status and by gosh, the employee
would fall off the working list just as expected.
The problem was that I couldn't display any completed items for the
employee later on. And why was my employee ID changing? The value for
the employeeID was a bunch of 0s or 1s?
The code was working well. The form looked OK. I finally opened the
property sheet and checked the control source for EmployeeID and Status.
Status had the control source of EmployeeID, not Status as I expected.
This was due to copying/pasting the Status Control and giving it the
name EmployeeID but not changing the control source.
This is the type of error that is hard to track down as there's not code
or logic to check. Just a naming mistake. I doubt it's a common error.
But if you see values in tables you don't expect, it might be
something to check.
I found it funny. If anyone else has any humorous develper tricks maybe
that person can share their's as well.
I had a problem that didn't make sense a couple of days ago that I found
humorous and I thought I'd share it with you.
I had a form with, amoung others, two fields; Status and EmployeeID.
EmployeeID was hidden, the other visibile. If the status was changed to
completed, it was to fall of the list of working items for the employee.
So in my testing I would change the status and by gosh, the employee
would fall off the working list just as expected.
The problem was that I couldn't display any completed items for the
employee later on. And why was my employee ID changing? The value for
the employeeID was a bunch of 0s or 1s?
The code was working well. The form looked OK. I finally opened the
property sheet and checked the control source for EmployeeID and Status.
Status had the control source of EmployeeID, not Status as I expected.
This was due to copying/pasting the Status Control and giving it the
name EmployeeID but not changing the control source.
This is the type of error that is hard to track down as there's not code
or logic to check. Just a naming mistake. I doubt it's a common error.
But if you see values in tables you don't expect, it might be
something to check.
I found it funny. If anyone else has any humorous develper tricks maybe
that person can share their's as well.
Comment