Setting Upper Case in a search field

|
|
|
PS_3060
Altro Transformers
|
I have a search firld on a form which works fine except I need to change all characters to upper case.
This is the code. It used to work but something has changed.
var pn string endvar
doDefault
pn = self.value pn = pn.upper()
PTMPTNO.setRange( pn, pn+"z" )
Cheers
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18190, 10 replies
Thread Started 10/4/2020 10:46:10 PM
View Counter=709
Last Reply Posted 10/9/2020 6:42:28 AM)
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
| Moderator |
|
Steven.G
|
looks like a small z, otherwise not clear on what your question is
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18192 (Level 2)
and Parent is 18190
Reply Posted 10/5/2020 7:54:21 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
The field is used to find a part number on a tableframe as a string and to catch the key strokes entered and convert to uppercase.
This worked before and I'm lost to why it does not now.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18193 (Level 3)
and Parent is 18190
Reply Posted 10/5/2020 2:56:34 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
| Moderator |
|
Steven.G
|
is there an error? no results? wrong results?
what event calls this?
pn.view() to see the results
and setrange(pn,pn) is the same as "pn..", even tho the help files don't say that
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18194 (Level 4)
and Parent is 18190
Reply Posted 10/6/2020 7:29:14 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
Hi Steven
This is on the KeyPhysical event on the field
method keyPhysical(var eventInfo KeyEvent) var pn string endvar
doDefault
pn = self.value pn = pn.upper()
PTMPTNO.setRange( pn, pn+"z" )
endmethod
What I'm trying to achieve is as the field is populatedall lowercase characters are converted to uppercase.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18195 (Level 5)
and Parent is 18190
Reply Posted 10/7/2020 6:33:15 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
Hi Steven
This is on the KeyPhysical event on the field
method keyPhysical(var eventInfo KeyEvent) var pn string endvar
doDefault
pn = self.value pn = pn.upper()
PTMPTNO.setRange( pn, pn+"z" )
endmethod
What I‘m trying to achieve is, as the field is populated all lowercase characters are converted to uppercase.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18196 (Level 6)
and Parent is 18190
Reply Posted 10/7/2020 6:33:15 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
| Moderator |
|
Steven.G
|
why not just do the "all caps" picture on the field, and be done with it? no code
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18197 (Level 7)
and Parent is 18190
Reply Posted 10/8/2020 6:18:43 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
Hi Steven,
The field is not attached to a table but is used to filter a table frame. That is why I was trying to set all characters in uppercase as it is then used for another search with another button.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18198 (Level 8)
and Parent is 18190
Reply Posted 10/8/2020 10:13:57 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
Hi Steven,
The field is not attached to a table but is used to filter a table frame. That is why I was trying to set all characters in uppercase as it is then used for another search with another button.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18199 (Level 9)
and Parent is 18190
Reply Posted 10/8/2020 10:13:57 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
|
|
|
PS_3060
Altro Transformers
|
Hi Steven,
The field is not attached to a table but is used to filter a table frame. That is why I was trying to set all characters in uppercase as it is then used for another search with another button.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About PS_3060 |
|
Membership pending.
Member subscribes to this thread with a verified email.
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18200 (Level 10)
and Parent is 18190
Reply Posted 10/8/2020 10:13:57 PM
|
|
|
|
Location=Aireys Inlet AU
|
|
| |
Most Recent Post
|
|
| Moderator |
|
Steven.G
|
ok, an undefined field.. first, that little bit of code should work.. but second, you can still use real fields from dummy tables, in situations liek this, if pictures, lookup tables, etc. can help
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18201 (Level 11)
and Parent is 18190
Reply Posted 10/9/2020 6:29:20 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
Revive Thread!
Add a comment to revive this old thread and make this archived thread more useful.
| Thread #18190 Counter |
| 709 |
|
Since 10/4/2020
|
|
|