How to Set Up Relationship in Data Env for Concatenated Fields (137952)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q137952 SUMMARY
Use the following steps to create a relationship involving the
concatenation of two or more fields in the parent and child tables in the
data environment of a form or report:
- Create an index tag in the child table from the concatenation of the
fields.
- Add the parent and child tables to the data environment.
- In the data environment, drag the first field of the concatenation from
the parent table to the concatenated index tag in the child.
- Bring up the Property sheet for the Relation object and set its
RelationalExpr property to the concatenation of the fields
(field1+field2 if the fields are both character data type).
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | KB137952 |
---|
|