C
cverbiest
Guest
Our framework contains following code to find the default values for a record. {&file} contains the name of the table. find _file where _file-name = "{&file}" no-lock. find {&file} where recid({&file}) = _file._template no-lock. This finds the template record for that table. Unfortunately instead of having the compiler automatically translate recid to rowid Progress decided it was better to make sure that the code gives a runtime error. RECID function not supported for this table. (552) How can you access the template record for a partitioned table. ? We have another option do transaction: create {&file}. /* "template" available */ undo. /* get rid of "template" record */ end. but that causes error 450 for the partitioned table. The same code works fine if the table is not partioned
Continue reading...
Continue reading...