Pon
Well Known Member
I'm using a variable to store a UDC System Code & User Define Code (i.e., System Code = 56, User Define Code = DP). I would like to use this variable to override the UDC for another form control. I decided to use the system function 'Set Data Dictionary Overrides' to override the DD item (form control) and make it use the UDC system code & user define code that are in my variable. Unfortunately, the system function does not accept variables and, I had to input (hard code) the values. In other words, I had to check to see what was in the variable and then call the system function using the values obtained. Does anyone know if there is another system or business function that will allow me to override the UDC associated with a form control and, pass it a variable that would contain the UDC system/user define code I'd like to use? I'd like to avoid any hard coding.
Any help would be greatly appreciated. Thanks.
P.S. If I've confused anyone than just try playing with the Set Data Dictionary Overrides system function. Pick a form control to override and click on the UDC button. It will prompt you to enter the UDC code you'd like to use for this form.
OW Xe, Update 6, SP 20, AS/400.
Any help would be greatly appreciated. Thanks.
P.S. If I've confused anyone than just try playing with the Set Data Dictionary Overrides system function. Pick a form control to override and click on the UDC button. It will prompt you to enter the UDC code you'd like to use for this form.
OW Xe, Update 6, SP 20, AS/400.