Simplicty and flexibility!


Function::Action

FormOpenRelated
FormOpenRelated("MyRelationship")
FormOpenRealted("MyRelationship,MyDocument")
FormOpenRelated("MyRelationship,MyForm")
FormOpenRelated("MyRelationship,MyReport")
FormOpenRelated("CustomerRel,CustomerForm")


To open a document filtered by the relational constraint.

This is one of the most useful features in DataEase, where you open an existing document based on the relational constraint set by a pre-defined relationship. You can open any type of document bar a DQL/Procedure this way. It will allow you to open a Procedure too, but it will not force the constraint.

You can use this to filter the result of a report instead of using a Procedure and data-entry. See Examples.

Parameters


Relationship (Optional)

The predefined relationship that you want the document to be constrained by.

Document (Optional)

The document you want DataEase to open. This can be a Form or Report.

If you don't use fill in these parameters DataEase will open the document open dialogue.

Returns/Result


Nothing.

Examples


Reference

Form Open Related

The Open Related Form icon opens a dialog box which shows all of the forms related to your current document. Highlight the form you want and click OK, and the related form will be opened.

Form Open Related can be used to simply inspect data in a related form. It can also be used to select and return data, using the Return To icon.

See Also


On the forum about FormOpenRelated

CDF OpenForm & FormOpenRelated

I've just migrated from 6.52 to 8 and i didn't found the CDF OpenForm and FormOpenRelated already present in DFW. Why?I used this function in 6.52 in many OMLs and in many databases. Please see  an example below.I've simply add this...

Product: Dataease [{8}]FIVE. Written by Marco Marchesi 06/05/14 at 15:47:45

On the blog about FormOpenRelated


dg3_HelpView