Công ty TNHH MTV Công Nghệ Sau Thu Hoạch Dương Xuân Quả
Chuyên sản xuất, lắp đặt lò sấy từ 500kg/mẻ đến 150tấn/mẻ
Mã số thuế: 1602085926
TP.Long Xuyên, An Giang
Ngày đăng : 24/07/2022
When you look at the Microsoft SharePoint Base, a look industry is an industry which is set up to get their value of an area in another record.
The manner in which you reference the two directories depends on your own section away from have a look at. Throughout the research field's attitude, the list that provides data is the prospective list and the career where in fact the study is inspired by is the target job. In the target list's perspective, record that contains new research occupation was a connected number. The newest browse occupation is a related industry.
Brand new SPList group enjoys a good GetRelatedFields strategy that can be used to see browse sphere that time to a listing.
In the interest of simplicity, and prevent frustration, the two directories are sometimes believed to enjoys a father-child matchmaking. The child number gets the lookup community. This new parent list provides the data source, which is the profession this is the target of your own research profession.
For the Microsoft SharePoint Base 2010, you can arrange a lookup industry for the a child listing very which towns a deletion restriction on belongings in the new moms and dad list. After you would otherwise change a research column through the member software, there is the option to Demand relationship behavior. For folks who look for this option, then you can come across possibly Restrict erase otherwise Cascade remove. Restrict delete prevents something from the moms and dad listing of becoming erased in case it is referenced because of the no less than one related situations throughout the guy checklist. That have cascade remove, deleting a product or service regarding the mother or father listing causes all the relevant affairs is removed regarding man list as well as.
Make it possible for the same decisions in code, set the fresh new RelationshipDeleteBehavior property regarding a keen SPFieldLookup target to an esteem on the SPRelationshipDeleteBehavior enumeration, both Restrict otherwise Cascade.
To possess SharePoint Base to help you sometimes maximum or cascade deletions, the new research field must be indexed. Place new Detailed assets of the profession to true.
The reason for a deletion restriction is to demand referential stability. Your incorporate the fresh limitation when you do not want something which has had a look industry becoming orphaned by the leading in order to a nonexistent goods throughout the address checklist.
Like, suppose that you've got several listings, Customers and Address contact information. You decide to relate both listings by adding a lookup occupation titled Customers ID into the Contact record, and also you part this new research industry towards the ID career in the the clients listing. After you configure this new look, you place a regulation on the matchmaking between them listings by the specifying one to deletions in the Users number need to cascade so you're able to the latest Contact record. Deciding to cascade deletions enforces referential integrity because of the making certain the Addresses checklist doesn't gather orphaned details. Assuming a product are erased out of People, associated products are immediately removed off Details.
Suppose you will also have a good Pending Orders number one, such Tackles, is related with the Users listing by a search occupation you to what to the fresh new ID industry in Customers. You might pick you do not require a customers record to get erased throughout the People checklist in case your buyers keeps good pending acquisition into Pending Requests record. In this case, you could potentially demand referential integrity of the configuring the fresh new research job for the Pending Purchases to help you limitation deletions from the moms and dad number, People.
A side-effectation of opting for often in order to cascade or even limit deletions are your thinking out of browse sphere was validated if they are set. An individual produces a new product through the user interface, the brand new browse column are depicted on the setting from the a drop-off listing when your target listing keeps fewer than 20 circumstances; in cases like this, the consumer is limited to help you in search of only appropriate thinking. In the event the target have more than 20 factors, an alternative control can be used and associate need certainly to types of good value; in this situation, entering an invalid worthy of results in red-colored validation text message on the setting. Comparable validation is carried out when you use the object model so you're able to set the worth of a look occupation. In cases like this, should your given worthy of cannot point to a preexisting items for the target checklist, SharePoint Base places an exemption.