JRussell
30th October 2002, 13:51
Hi

I want to convert a field to uppercase if entered in lowercase.

What function is available to do this?

I have looked at toupper$, but this will only convert a string not a field. Is there a function to do this, before I start messing around with code....

any suggestions?

zacharyg
30th October 2002, 14:12
Hello JRussell,

I'm not sure what you mean by
I have looked at toupper$, but this will only convert a string not a field ,but I have used the function in the past and it worked.

E.G.

extern domain tcmcs.str10 frm.field


field.frm.field:
before.checks:
frm.field = toupper$( frm.field )

JRussell
30th October 2002, 14:33
thanks that worked

jaapzwaan
30th October 2002, 15:34
JRussel,

Why don't you simply create a new domain and set the property Conversion to Upper case

Regards,
Jaap Zwaan