Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Technology & Integration
›
auto generate number.
auto generate number.
sattibabu vatti
Rank: #184
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
hi,
can anybody tell me how to generate number in textbox using button click.
Regards,
sattibabu vatti.
Joop Stringer
Rank: #17
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Use the GeneratePassword function
Poonam Chauhan
Rank: #637
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi
Actually I have to generate auto Product Id like
Product + 0000 + autonumber
eg: Product00001, Product00002 etc.
could anybody help me in getting the same value
Joop Stringer
Rank: #17
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
OK.
So then you start with a simple query on the product, order by product nr descending
Take the first record (list.current.product.id) and add 1 to it and that will be your new number
:-)
Poonam Chauhan
Rank: #637
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Joop Stringer wrote
:
OK.
So then you start with a simple query on the product, order by product nr descending
Take the first record (list.current.product.id) and add 1 to it and that will be your new number
:-)
Hi ,
Actually my requirement is when i click on create new product link then it open new screen .
At new screen Product + 0000 +1 should come.
Could you please give me example where to write the logic and how to do it.
Thanks
Poonam
Joop Stringer
Rank: #17
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Did you follow the online training ???
It should/could be done in the preparation of the new product screen
Poonam Chauhan
Rank: #637
Posted on 2012-05-15
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Joop Stringer wrote
:
Did you follow the online training ???
It should/could be done in the preparation of the new product screen
I followed the same step that i written a query but at run time in new screen i want to bind/show new product id on label .
I am unable to do
Could u Please give me example
Joop Stringer
Rank: #17
Posted on 2012-05-15
thumbs_up_ico
1
thumbs_down_ico
0
reply
post_link_ico
Poonam Chauhan wrote
:
Joop Stringer wrote
:
Did you follow the online training ???
It should/could be done in the preparation of the new product screen
I followed the same step that i written a query but at run time in new screen i want to bind/show new product id on label .
I am unable to do
Could u Please give me example
Poonam, Sattibabu,
I'm not going to answer this basic question ...
Please try to view the online training (
http://www.outsystems.com/training/Course.aspx?CourseId=0&TrackId=56
)
Or go through the step-by-step tutorial in ServiceStudio !!
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Ricardo Silva
Charles Colaço
Gerry
André Vieira
Arnold Grippeling
João Rosado
JD
Robert Chanphakeo
Mizé Williams
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More