User bio
404 bio not found
Member since Aug 2, 2022
Posts:
Replies:
liu bo · Apr 11, 2024 go to post

you can generater sql by classdefinition,  to get parameter maxlen  value such as :

s  maxlen= $g(^oddDEF(ClsName,"a",Peoperty,"P","MAXLEN"))
s  truncate= $g(^oddDEF(ClsName,"a",Peoperty,"P","TRUNCATE"))

i (truncate=1) && ($l(originalVal)>maxlen){

     s originalVal =$e(originalVal,1,maxlen)

}

Maybe it can help you!

Certifications & Credly badges:
liu has no Certifications & Credly badges yet.
Followers:
liu has no followers yet.
Following:
liu has not followed anybody yet.