Opal <(E-Mail Removed)> wrote in news:6908ba07-70ac-44c3-8fb1-
(E-Mail Removed):
> Thank you, John. That cleared up the type mismatch...
>
> But I've still got a problem.... When I run this the values,
> for example, that I am trying to write to the table
> are 94.7% and 98.5% and when the code runs, it
> saves them as 100% and 100%. What am I missing
> with my field formatting or field size...? Help!
>
From your original post, you have defined
Dim HoldTDR As Integer
Dim HoldADR As Integer
The numbers 94.7% and 98.5% are actually 0.947 and 0.985.
When you try to save them as integers, they get rounded to 1.00, which
the Format Percent shows as 100% and 100%
--
Bob Q.
PA is y I've altered my address.