 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; data model</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/data-model/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 13:14:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Data model for Custom fields and Custom forms.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/data-model-for-custom-fields-and-custom-forms/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/data-model-for-custom-fields-and-custom-forms/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 20:11:41 +0000</pubDate>
		<dc:creator>SQLServer2008</dc:creator>
				<category><![CDATA[data model]]></category>
		<category><![CDATA[Dynamic Forms and fields]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SQL Server database]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I plan to build a web application which would have dynamic forms with custom fields. he can create one module, web form having some custom fields.So these fields can be created by customer itself through web application. To make this enable i believe I should have some tables to store meta data details of [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>I plan to build a web application which would have dynamic forms with custom fields. he can create one module, web form having some custom fields.So these fields can be created by customer itself through web application.<br />
To make this enable i believe I should have some tables to store meta data details of these custom fields and their properties. few other tables to store their values.</p>
<p>Expected Output in Application:<br />
&#8212;&#8212;&#8212;&#8212;<br />
Employee:<br />
Employee Number    : 12001       <br />
Name        : Denny Cherry<br />
Designation    : Senior Database Administrator / Architect<br />
Age        : 26<br />
Status        : Active<br />
&#8212;&#8212;&#8212;&#8211;<br />
Table to store Field Properties:cust.fields<br />
fldno    fldname          datatype    length    field_control    module<br />
1    Employee No    NVARCHAR 20    Text_box    Employee</p>
<p>2    Name    NVARCHAR     50    Text_box    Employee</p>
<p>3    Designation    NVARCHAR 20    PickList    Employee</p>
<p>4    Status    NVARCHAR     20    PickList    Employee<br />
&#8230;<br />
&#8230;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Table to store Field Values:cust.FieldValues<br />
RowId  FieldId  value  Pr_Index SecIndex<br />
101    1        12001  12001    NULL<br />
101    2   Denny Cherry 12001   NULL<br />
101    5        26     12001    NULL<br />
&#8230;.<br />
&#8230;.</p>
<p>I could transpose the fields into columns and display one employee record in a single row. But it would take huge time by creating more number of fields and storing their values.</p>
<p>I could successfully make user to create custom fields and forms on their own through this method but I guess I may be wrong in terms of data base model/architecture.</p>
<p>How would you recommend to store the fields meta data and their values?</p>
<p>Thanks in Advance.<br />
Ganesh Kumar</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/data-model-for-custom-fields-and-custom-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.017 seconds using memcached
Object Caching 313/332 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 13:57:16 -->