JOIN.RUN Function

Syntax

Code_Text as C = join.run(C layoutname [,C master_table_filter [,C transaction_table_filter [,L silent [,L show_Xbasic [,* arguments ]]]]])

Arguments

Code_Text

The Xbasic code that was run performing the operation.

layoutname

The name of a previously created join operation.

master_table_filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects the records from the master table.

transaction_table_filter

Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects the records from the transaction table.

silent

Optional. Default = .F. .T. = No user interaction. .F. = User interaction.

show_Xbasic

Optional. Default = .F. .T. = Display the generated Xbasic code. .F. = Do no display the generated Xbasic code.

arguments

*

Description

Runs a Join operation

Discussion

The JOIN.RUN() method joins two tables using a previously defined join operation. Note : If you specify an optional filter argument, the filter is applied in addition to any filter that may have been defined as Part of the Operation. (You can check to see if a filter is defined as Part of an Operation by editing the saved operation, and selecting the "Select records" menu item.) If the Silent flag is set to .T., then Alpha Anywhere does not display any confirmation dialog boxes before running the operation.

Example

The following example runs the saved Customer Join operation.

join.run("Customer Join", "Lastname > 'A'", "invoice_number > 1", .t., .f.)

Limitations

Desktop applications only.

See Also