Newbie question: How to constrain texbox to uppercase?

Thanks Nigel. Worked like a charm. I could swear that I
tried .ToUpper before. Must have been on the wrong event.

Merci Beaucoup, Muchas Gracias, Maraming Salamat, Thank You Very
Much!

--- In vantage@yahoogroups.com, "Nigel Kerley" <nigel.kerley@...>
wrote:
>
> This is one of the first customisations I put in - I like all
CustIDs
> to be in uppercase! I'm not sure if you can set a textbox's
> properties to enforce uppercase, so I used the BeforeFieldChange
> event and added in the following code:
>
> Select Case args.Column.ColumnName
> Case "CustID"
> args.ProposedValue = args.ProposedValue.ToUpper()
> Case Else
> End Select
>
>
> HTH
>
> Nigel.
>
> --- In vantage@yahoogroups.com, "bjcracosta" <racosta@> wrote:
> >
> > Vantage newbie here. We're on 8.03.406a.
> >
> > I don't see an uppercase property for the textbox control I'm
> adding to
> > a customized form. I've looked around and found code examples to
> set
> > ExtendedProperties but the following doesn't work.
> >
> > edv.dataView.Table.Columns("ShortChar01").ExtendedProperties
> > ("Uppercase") = True
> >
> > Thanks
> >
>
Vantage newbie here. We're on 8.03.406a.

I don't see an uppercase property for the textbox control I'm adding to
a customized form. I've looked around and found code examples to set
ExtendedProperties but the following doesn't work.

edv.dataView.Table.Columns("ShortChar01").ExtendedProperties
("Uppercase") = True

Thanks
This is one of the first customisations I put in - I like all CustIDs
to be in uppercase! I'm not sure if you can set a textbox's
properties to enforce uppercase, so I used the BeforeFieldChange
event and added in the following code:

Select Case args.Column.ColumnName
Case "CustID"
args.ProposedValue = args.ProposedValue.ToUpper()
Case Else
End Select


HTH

Nigel.

--- In vantage@yahoogroups.com, "bjcracosta" <racosta@...> wrote:
>
> Vantage newbie here. We're on 8.03.406a.
>
> I don't see an uppercase property for the textbox control I'm
adding to
> a customized form. I've looked around and found code examples to
set
> ExtendedProperties but the following doesn't work.
>
> edv.dataView.Table.Columns("ShortChar01").ExtendedProperties
> ("Uppercase") = True
>
> Thanks
>