The dot (.) ends the macro substitution, so it doesn't see anything after Thisform
>Does not work:
>
>
>seek &Thisform.cSeekValueRef
>
>
>Does work:
>
>
>lcSeekValueRef=Thisform.cSeekValueRef
>seek &lcSeekValueRef
>
>
>Am I correct? Why is it this way?
>
>It forces me to create a lot of local vars just for the temporary use of what is shown above.
>
>.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer