There is an existing application which allows new records to be created from a button off the main form. When using this button to add new records the above-noted error is returned. This error is returned when the system attempts to execute the following code:
intCoNo = [Forms]![ProjInfo]![county num]
Here intCoNo is set to zero, but valid values for intCoNo should be between 1 and 92. I am not certain as to why it is being set to zero other than it is for a new record and the value isn't set yet.
Can anyone shed some light on this matter for me please?
Thanks.
intCoNo = [Forms]![ProjInfo]![county num]
Here intCoNo is set to zero, but valid values for intCoNo should be between 1 and 92. I am not certain as to why it is being set to zero other than it is for a new record and the value isn't set yet.
Can anyone shed some light on this matter for me please?
Thanks.