Try
Dim StrChkNo as String
strChkNo = "Chk" & K
If Forms![frmAdvancedSearch].Controls(strChkNo) = True Then
...
Also, since position should be in TWIPS you might need to multiply by 1440
(1440 TWIPs to the inch) in the first assign statement. If you are working
on the metric system, you will need to convert 1440 to the appropriate value
Position = .68 * 1440

Signature
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
>I am trying to turn columns on an off in a report by using checkboxes
> on another form (called frmAdvancedSearch). The code below is run when
[quoted text clipped - 33 lines]
> I am not very experienced with this and any help would be greatly
> appreciated.
lulugrant_is_a_dog@hotmail.com - 12 Jan 2007 23:36 GMT
Thanks, everything is working now!
> Try
>
[quoted text clipped - 55 lines]
> > I am not very experienced with this and any help would be greatly
> > appreciated.