Last active
July 20, 2017 15:01
-
-
Save nvg/0edd53243a69be3f6bf71eaca1f62542 to your computer and use it in GitHub Desktop.
peoplecode: record to string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Local number &z; | |
| Local string &s = ""; | |
| For &z = 1 To &rec.FieldCount | |
| &s = &s | " " | &rec.GetField(&z).Name; | |
| try | |
| &s = &s | "=" | &rec.GetField(&z).Value; | |
| catch Exception &err | |
| &s = &s | "=" | "[f%#k]"; | |
| end-try; | |
| End-For; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment