×
Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…
Enquiry
- Gopije7
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
11 years 7 months ago #15056
by Gopije7
Enquiry was created by Gopije7
I have an app GPS.PAY.DETS.The ID of this app is like 123*AC*1234*20110101.
Now i need to give last part of ID i.e date as a selection field through build routine.Can it be possible?
Pls can any one tell how to do it.
Thanks in advance.
Now i need to give last part of ID i.e date as a selection field through build routine.Can it be possible?
Pls can any one tell how to do it.
Thanks in advance.
Please Log in or Create an account to join the conversation.
- kripesh
-
- Offline
- Platinum Member
-
Less
More
- Posts: 459
- Thank you received: 65
11 years 7 months ago #15126
by kripesh
Have a great day !
Replied by kripesh on topic Enquiry
Just say you have the ID in a variable like
Y.ID = 123*AC*1234*20110101
then to extract the date part in the ID you can do the following
Y.DATE = Y.ID[8] ; * This will extract the last 8 chars from the variable Y.ID
(or)
DCOUNT(Y.ID,'*',4)
both the options will fetch you the date..
Y.ID = 123*AC*1234*20110101
then to extract the date part in the ID you can do the following
Y.DATE = Y.ID[8] ; * This will extract the last 8 chars from the variable Y.ID
(or)
DCOUNT(Y.ID,'*',4)
both the options will fetch you the date..
Have a great day !
Please Log in or Create an account to join the conversation.
Time to create page: 0.037 seconds