setUpdatableColumns

Tranborg

New Member
How do I use setUpdatableColumns in my SDO?

I cant get it to work.

gcUpdatableColumn = DYNAMIC-FUNCTION('getUpdatableColumns':U).
MESSAGE gcUpdatableColumn.

Works OK.



lReturnLog = DYNAMIC-FUNCTION('setUpdatableColumns':U, INPUT "").

Don't work. Progress error 'Cant find ... (5639)' Progress help say in query.p, but I can't find it in the Procedure Object Viewer anywhere at all.


(I want to get the UpdatableColumns save it, set the UpdatableColumns to "" and in the end restore back the saved UpdatableColumns again.)
 
The only place I could find it is in V9.1C in src/adm2/dyndata.w

I have attached that file. Hope it's of some use to you.

Otherwise, I think you'll have to consider writing your own version in querycustom.p
 

Attachments

  • dyndata.w
    38.9 KB · Views: 10

Tranborg

New Member
Thanks Norman!

You found it for me! F1 help wrongly say it is in the query.p! I got confused.

I tried also with the "only for internal use!?" {set UpdatableColumnsByTable cValue} it worked fine but...

However I'm not sure I dare to use it like I first thought. A completely diffrent solution to my problem came to my mind.

Anyway, thanks a lot.
 
Top