Enterprise website backstage, product classification is necessary, this is also the difficulty of other handwriting backstage, the difficulty is linkage, select a classification, two classification automatic switch, select two level classification, three classification automatic switch. How to implement this function with Aspmaker? Below we take two level linkage as an example, detailed explanation. To design the database first, the table structure is listed below.
First-level Catalog table name: BHLM, structure as shown below
Second-level catalog table name: XWLM, structure as shown below
The Association field is BH in the BH associated XWLM in BHLM. The following explains how to set up the linkage effect in Aspmaker. Left table structure, click the Xwlm table, and in the window that pops up on the right, click the BH field.
On the lower side of the software, the BH field property card, first select the Select Control, and then click User Lookup table below, meaning the associated table.
The Select control property pops up on the right
First attribute "table name", select the table to associate, select "BHLM";
The second Attribute "link field", the associated field, select "BH";
The third attribute "display Field#1", displays the name, selects "BHMC";
Here the association settings are over, click a few mouse, you can solve the cumbersome two-level linkage, three-level linkage, or even infinite pole linkage. Aspmaker really strong, the key you have to understand him, and good at using it! Reprint please keep the link http://www.wzbhl.com/article-28-1.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.