Search these areas:
Help
Support Forums
Product Info



-Introduction
-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Views
-Templates
-Components
-Data Analysis
-Members
-Security
-Importing
-Exporting
-FTP
-JavaScript
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-Glossary
-New Responsive UI Module





DataWeb Help
Support Forums
Tutorial
Script Library
Knowledge Base

Home > Support

Support Forum



How can I call up a matching record in an "include" area?
Jim_Sullivan asked:
Can I call up a particular record in an "include"?

Code from my page:
<ws:include src="/TTXinfo/default.view" id="Purchase_Order_or_Control_No" />

This displays all the records. How can I display only the record that corresponds to the Purchase_Order_or_Control_No record from the other table displayed on the page?
 
  dougl responded:
  http://help.westside.com/default.view?Topic=views/xml/vxmlinclude

I think you're looking for the joinfield and joinfieldparent properties of the <ws:include> tag.

Let's say, for example, your parent record contains data about a Purchase Order and your included region is bound to a table that stores Status information about each Purchase order.

If your Status table is linked to the Purchase Order table through a lookup field named purchaseOrderID, your include tag will look like this:

<ws:include src=".TTXinfo/default.view" id="Purchase_Order_or_Control_No" joinfield="purchaseOrderID" joinfieldparent="rowid" />
 
  marki responded:
  Note that to use the joinfield and joinfieldparent properties, your include needs to be located within the parent data region.

You can set these properties from the UI as well as in source code as described above.
 
  dougl responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

Thanks,
DataWeb Support
 
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us