Kbase P95781: Can't use Extent field as the target of a Foreign Field Mapping.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/07/2010 |
|
Status: Unverified
SYMPTOM(s):
BUFFER-FIELD <field Name>[n] was not found in buffer RowObject. (7351)
<field Name>[n] is an extent field.
<field Name>[n] is the 'Target' in a Foreign Field Mapping between SDO's.
FACT(s) (Environment):
Windows
CAUSE:
The 'Target' list box of the Multi-Field Mapping Dialog references extent fields incorrectly. The extent field is referenced with brackets.
For example: <Field Name>[n]
Instead of: <Field Name>n
FIX:
To workaround the problem:
1.Override the initializeObject procedure for the window that holds the SDO's involved in the Foreign Field mapping.
2. Before the standard behavior, run setForeignFields and reference the extent field without brackets:
/* Code placed here will execute PRIOR to standard behavior.*/
DYNAMIC-FUNCTION("setforeignfields" IN <SDO Handle>, INPUT "<Target Field Name>n,<Source Field Name>."
RUN SUPER.