Rank: Administration
Groups: Administrators, Beta Testers Posts: 3,097 Location: Auburn, GA Thanks: 998 times Was thanked: 497 time(s) in 412 post(s)
|
There is a method of the log form named
write_userfield() that takes three parameters:
The Tag The Value Overwrite existing data
So for example
Log.write_field "NAME", "FE", True Log.write_userfield_field "IOTA:", "AF-001", True ...
(where Log. is the reference to the log form in your code).
To read a user-defined field,
name = Log.read_field "NAME" iota = Log.read_userfield "IOTA:"
You can also specify the return type:
Log.read_userfield("IOTA:", "C")
Valid types are:
"C" returns Character (default) "D" returns Date "I" returns Integer "F" returns Float "L" returns Logical
|
Note: We receive a commission from Amazon when you purchase via this link. It does not affect your cost. Thank you!
|