Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: How to use FieldCaption and FieldRef.Caption in SetView of CAL Code

$
0
0
Didn't any of you consider looking at the online help? :-) Both RecordRef.SETVIEW and RecordRef.GETVIEW supports using field numbers. You'll quickly get the syntax by messaging RecordRef.GETVIEW(FALSE) of a recref with filters. A prettier solution could be to use KeyRef and FieldRef and set the individuel filters just like you would do with a Record.

Viewing all articles
Browse latest Browse all 11285

Trending Articles