Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I am very impressed with the site and have already recommended it to one of my associates. I was truly impressed with the quickness in which someone actually responded to my question..."

Geography

Where in the world do Tek-Tips members come from?
ksfmohamed (IS/IT--Management)
7 Aug 12 6:21
How to generate random alpha numeric character in powerpuilder???

Please find the below source. Its working fine.

Randomize (CPU ())
string ls_disp, ls_code = ''
String ls_passval[70] = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9','0'}
integer ls_limit
ls_limit = 10

DO WHILE (Len(ls_code) < ls_limit)
ls_code = ls_code + ls_passval[rand(65)+1]
LOOP
ls_disp = ls_code

mbalent (Programmer)
7 Aug 12 7:19
It's working fine. Thanks for sharing!

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

geberti (Programmer)
12 Sep 12 8:38


it's working well .. and thnx for sharing your idea ..


also can you pls give same exampls to use it !!


thnx in all

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close