insert command using a qualifier for the record name
Posted: July 26th, 2023, 2:51 pm
Hi folks,
I have an application using a main dictionary and an external one, both having the same record names (the dictionaries have different names).
For example, both have the PERSON record.
If I try inserting a record, such as in
INSERT(PERSON(i));
Naturally I get a compiler error, saying that
The symbol 'PERSON' exists more than once in your application so you must provide qualifiers (such as the dictionary name) to avoid ambiguity
Then I qualify with the dictionary name
insert(BRUMA3_10_ENTREVISTA_DICT.PERSON(ind));
Then I get another error message saying
Record, group or multiple item name expected
Which appears to me that I cannot have duplicate record names in different dictionaries. Is that so?
Best
Ari
I have an application using a main dictionary and an external one, both having the same record names (the dictionaries have different names).
For example, both have the PERSON record.
If I try inserting a record, such as in
INSERT(PERSON(i));
Naturally I get a compiler error, saying that
The symbol 'PERSON' exists more than once in your application so you must provide qualifiers (such as the dictionary name) to avoid ambiguity
Then I qualify with the dictionary name
insert(BRUMA3_10_ENTREVISTA_DICT.PERSON(ind));
Then I get another error message saying
Record, group or multiple item name expected
Which appears to me that I cannot have duplicate record names in different dictionaries. Is that so?
Best
Ari