>I want to do it at design time.
How about using the form files as tables (USE MyForm1.scx) and copying the appropriate memo field(s) from the DataEnvironment record of one, to the other? Or copying the DataEnvironment record from one to the other. Not sure which memo field(s) would be appropriate without looking, but you should be able to tell by looking at the docs on the meta-file structures.
Probably you want to copy the whole record, anyway, like:
USE MyForm1.scx
USE MyForm2.scx IN 0
LOCATE FOR [base]class="dataenvironment"
FOR FldNum = 1 TO FCOUNT()
REPLACE ( FIELD(m.FldNum) ) WITH ("MyForm2." + FIELD(m.FldNum) )
ENDFOR
USE IN MyForm2
USE IN MyForm1
HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing