Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Easy one

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi people

This is an easy one lol
I'm a Visual Dbase newbie

How would you convert a field on a form to UPPERCASE after having modified and left that field.

Please explain in steps.

? How do I get to the valid clause of the Text field.
? How do I convert it to UPPERCASE
? How do I replace that field on the form with the UPPERCASED text

Thanks

db newbie

 
1. In Form Design mode, click on the text field you want to
work with.

2 In the Inspector window (F11) click on the EVENTS tab,
click on the "Valid" clause then click on the Wrench Icon.

This will open the source Editor and position the cursor into source code. At the cursor type the following:

this.value = UPPER(this.value)

Now click on the RUN icon. Note you must make a change in the field for it to execute the "VALID" clause.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top