You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Difference between recordname.fieldname.value and recordname.fieldname?

1 reply [Last post]
culguy123's picture
User offline. Last seen 7 years 41 weeks ago. Offline
Joined: 08/01/2011
Posts: 8

Can someone please explain me the difference between the use of "..value" and ".". At many places I have noticed we assign/fetch the value to/from a record field using .VALUE and sometimes without that!

What is the actual concept behind this?

Lepa's picture
User offline. Last seen 1 year 38 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Difference between recordname.fieldname.value and ...

recordname.fieldname is the old style peoplecode format. They both do the same thing but you should get in the habbit of using the field object format and that is recordname.fieldname.value

One thing you need to keep in mind when using recordname.fieldname.value with INSTALLATION or OPTIONS Tables is the the field object format doesn't work. For example, INSTALLATION.TL.Value = "N" is NOT valid. you need to go back to the old way such as INSTALLATION.TL.Value = "N".

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog