S
SIN
hi,
i have form with data that i check
i check the loop ' if i have 2 reord --> i have two turm to the loop, but if
i whant
to update the table:
if i have 2 record it update one.
if i have 3 record it update two.
example:
While Not (rsimportfile.EOF)
v_error_position = 6
If IsNull(Me!Invoice_Num) = True Then
sMyText = "The Filed Invoice Number Can't Be Empty. "
GoTo Exception
end if
Exception:
Me.Err_Code = v_error_position
Me.Err_Description = sMyText
rsimportfile.MoveNext
Wend
thanks
i have form with data that i check
i check the loop ' if i have 2 reord --> i have two turm to the loop, but if
i whant
to update the table:
if i have 2 record it update one.
if i have 3 record it update two.
example:
While Not (rsimportfile.EOF)
v_error_position = 6
If IsNull(Me!Invoice_Num) = True Then
sMyText = "The Filed Invoice Number Can't Be Empty. "
GoTo Exception
end if
Exception:
Me.Err_Code = v_error_position
Me.Err_Description = sMyText
rsimportfile.MoveNext
Wend
thanks