User`s guide
TypeField
StringName
StringDepartment
IntegerYears_of_service
IntegerAge
DateDateField_In
DateDateField_Out
When working with the Name, Department, and DateField_In fields, you must either link them to another
table, or specify them in a record selection formula.
For example, if table "T" contains departments that are over budget, you can link {T.Department} to
{F.Department} and have a record selection formula that specifies {F.Name} = "Richard" and
DateField = Date(1999,04,14). This formula will get the years of service, age, and start date of
all people named Richard in departments over budget on April 14, 1999.
Functions with structures as inputs and outputs
Function F
IMPORTING
VALUE(ADDRESS) LIKE S_ADDR STRUCTURE S_ADDR
EXPORTING
VALUE(CONTACTINFO) LIKE S_CINFO STRUCTURE S_CINFO
S_CINFO is defined as:
PHONE(20) TYPE C
EMAIL(100) TYPE C
S_ADDR is defined as:
STREET(100) TYPE C
ZIPCODE(6) TYPE N
This function would appear as a table called "F" with the following schema:
TypeField
StringAddress.street
IntegerAddress.zipcode
2012-03-14601
Integrating Business Applications with Crystal Reports