# Relation for RecId

**URL:** <https://www.dynamicsuser.net/t/relation-for-recid/61674>\
**Category:** Developer Forum\
**Created:** [September 29, 2016, 7:17am UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674 "2016-09-29T07:17:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![billgates](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@billgates](https://www.dynamicsuser.net/u/billgates)\
**Post date:** [September 29, 2016, 7:17am UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674/1 "2016-09-29T07:17:49Z")

</div>

Hi all,

How can i create the Relations for the REcId??

for Ex…I have Two Table Called Table1 and Table 2…i want to create the relation for Table1 and Table 2…Table1 Contains RecId Field…Table2 contain RefRecId (created manually)…i want to create the relation for RecId and RefRecid…when i try to create the relation it fails… How can i create??

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [September 29, 2016, 7:47am UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674/2 "2016-09-29T07:47:52Z")

</div>

Unfortunately “it fails” isn’t very detailed description, so it’s impossibly to address it. Try to tell us more.

---

<div class="post-metadata">

**Author:** ![billgates](https://avatars.discourse-cdn.com/v4/letter/b/d26b3c/32.png) [@billgates](https://www.dynamicsuser.net/u/billgates)\
**Post date:** [September 29, 2016, 8:31am UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674/3 "2016-09-29T08:31:35Z")

</div>

Table1: contain Recid…  
Table2 contain Refrecid…  
how an i create the relation in two fields

---

<div class="post-metadata">

**Author:** ![MartinDrab](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@MartinDrab](https://www.dynamicsuser.net/u/MartinDrab)\
**Post date:** [September 29, 2016, 10:07am UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674/4 "2016-09-29T10:07:06Z")

</div>

[MSDN: How to: Add a Relation to a Table](https://msdn.microsoft.com/en-us/library/aa556809(v=ax.50).aspx)

---

<div class="post-metadata">

**Author:** ![Pramod0318](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Pramod0318](https://www.dynamicsuser.net/u/Pramod0318)\
**Post date:** [September 29, 2016, 1:30pm UTC](https://www.dynamicsuser.net/t/relation-for-recid/61674/5 "2016-09-29T13:30:35Z")

</div>

Are you getting any error msg while creating relation. ?
