I am trying to use item name to get an item from a combo box. The combo box is a list of months abbreviated to the 3 letter form. What I am trying to do is pre populate this field with the current month. This is in the LinePre of a scrolling window. The error I get is that my field an Unknown Identifier.
Here's the code
// '(L) PlanStartMonth' of window Compensation_Plan_Assignments = "JAN"; --- This I tried just to verify the name and reference work.
RMC_StartMon of table RMCSC_RepPlanXref = itemname(field '(L) PlanStartMonth' of window Compensation_Plan_Assignments ,month(sysdate()); ---Here I set the table field from the name returned by the function. This part is not working.
'(L) PlanStartMonth' of window Compensation_Plan_Assignments = RMC_StartMon of table RMCSC_RepPlanXref ; -- here I set the combobox value to the name returned previously.
If the function does not recognize the qualifier, is there another method to use the field? Or do I somehow have to locally create some sort of reference locally or get it from an SQL procedure? Is there another way to return what I want from dexterity directly.
*This post is locked for comments