Frank Boudreau
New Member
HI,
I'm trying to get a copy of a record in the same table...
I wanna use temp-table but can we do something like this?
/* suppose to get an exact copy of the fied */
DEF VAR TEMP-TABLE tmpTab LIKE MyTable
FIND FIRST MyTable no-lock no-error.
/* error : unknown field or variable tmpTab on next line */
tmpTab = MyTable.
How can I get a copy of a record to change one or two field ?
I dont want the user write again 50 field when they only have to change 1 field in each record.
I want to know the best way to do this...
I'm trying to get a copy of a record in the same table...
I wanna use temp-table but can we do something like this?
/* suppose to get an exact copy of the fied */
DEF VAR TEMP-TABLE tmpTab LIKE MyTable
FIND FIRST MyTable no-lock no-error.
/* error : unknown field or variable tmpTab on next line */
tmpTab = MyTable.
How can I get a copy of a record to change one or two field ?
I dont want the user write again 50 field when they only have to change 1 field in each record.
I want to know the best way to do this...