J
Jmbostock
I've a problem.
The following is part of a procedure that takes information from a
access database.
If rst.Fields("One_Time_Fee") <> "" Then holdamount = amount
rst.Fields("One_Time_Fee")
If rst.Fields("Adjustment") <> "" Then holdamount = holdamount
rst.Fields("Adjustment")
The first one works fine. However, sometimes there are no adjustments
so the table doesn't create that particular field, and an error occur
saying correctly that there is not field by that name.
I'm trying to write something that will skip that line of code if ther
is an error like that.
I've tried using the "On Error Resume Next", but that doesn't seem t
work.
Anyone have any ideas??
Jame
The following is part of a procedure that takes information from a
access database.
If rst.Fields("One_Time_Fee") <> "" Then holdamount = amount
rst.Fields("One_Time_Fee")
If rst.Fields("Adjustment") <> "" Then holdamount = holdamount
rst.Fields("Adjustment")
The first one works fine. However, sometimes there are no adjustments
so the table doesn't create that particular field, and an error occur
saying correctly that there is not field by that name.
I'm trying to write something that will skip that line of code if ther
is an error like that.
I've tried using the "On Error Resume Next", but that doesn't seem t
work.
Anyone have any ideas??
Jame