>I am trying to create an expression builder, similar to the one in the reports. When a user selects a function from a combo list, I put that function into an editbox. It looks like this:
>
> lower(|Field|)
>
>I would then like to have the pipes and text in between selected, |Field|, so that further entry will overwrite this.
>
>Does anyone know where I can find a solution to this.
>
>TIA
>
>DJ
Look at the SelStart, SelLength and SelText properties. You should be able to use them to do what you want.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.