Hi,
I am using FieldRef.CLASS to decide the type of a certain field. But the compiler will complain something like FieldClass <>Option.....
For example:
IF "RecRef".CLASS = "RecRef".CLASS::Flowfield THEN
"RecRef".CALCFIELD;
Is there any syntax error here? :?
Comments
or something else...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
CLASS (FieldRef)
Use this function to return the fieldclass of the field that is currently selected. This function returns an error if no field is selected.
Class := FieldRef.CLASS
Class
Data type: option
The return vale. The fieldclass of the field.
FieldRef
Data type: fieldref
The fieldref that refers to the field that you are interested in.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
If it was hard to write, it should be hard to understand."