The problem I was having (besides driving down the rosy path) was that when the number was transformed to text it wasn't keeping the padded 0s. You will get answers more quickly if you read this before posting: FAQ149-3762: Getting fast, accurate help RE: Change military time to standard time cutpen (TechnicalUser) , Microflo provides expert consulting on MagicTSD and Crystal Reports. I am sure there is probably an easier way, but that works. StringVar ST := '1845' //change to your field If the field is a string, then the following will work: right click and choose format field and select the format NumberVar H := tonumber(left(totext(t),2)) UmberVar T := 1845 //change to your field If the field is a number field the following will work:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |