KMoody
Member
Progress: 10.2b SP7
OpenEdge Architect: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
OpenEdge OS: Windows 7 Professional 2009 SP1
I’d like to create a function which receives a record or list of records. If a user has Can-Read rights to a field in that record, then the program displays the field. If the user has Can-Write rights to the field, then the user can also update that field.
OpenEdge Architect: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
OpenEdge OS: Windows 7 Professional 2009 SP1
I’d like to create a function which receives a record or list of records. If a user has Can-Read rights to a field in that record, then the program displays the field. If the user has Can-Write rights to the field, then the user can also update that field.
- Is it possible to pass a record/record list to a function? If not, could I pass a query instead?
- How can I set up dynamic displays and updates/sets? I tried the following, but neither worked:
Code:
FIND item WHERE part-num = "2000".
DEF VAR dx as char init "part-num item-description".
SET item STRING(dx) WITH FRAME dtehdr.
Code:
FIND item WHERE part-num = "2000".
DEF VAR dx as char init "part-num item-description".
SET item VALUE(dx) WITH FRAME dtehdr.