Same Access Field with different behaviors

Flecha Negra

Registered User.
Local time
Today, 07:45
Joined
Dec 4, 2013
Messages
10
I have two forms almost identical... both have the same Record Source, with (of course) the same Fields on the Form.

One of them creates one or more records with no problem. The other one have two "Fields" giving me troubles...

I had compared (in the editor Microsoft Visual Basic) the fields, with right button of mouse and choose "Quick Info" and the results are:

Good one --> NOME_EPR As AccessField (NOME_EPR is the field's name)
Bad one --> Implicit NOME_EPR As Variant

?! Why? Does anyone have a clue for me...?
 
hi,

i think you have a type casting problem..
please declare the variable data type and check the value.

regards,
 

Users who are viewing this thread

Back
Top Bottom