Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Connect dynamically created fields to ODBC database

$
0
0

Can anyone help me with a script to connect dynamically created fields to an ODBC database (MS Access)? For example a table with multiple fields for Customer Name, Phone Number, Address, etc.

 

I have several forms that I have connected static fields to MS Access but not dynamically created fields. I would use the FormID as the unique data point.

 

FormIDCustomer NamePhone Number
Address
1Mr. Jones315 999 9999127 Adtkins Dr, Liverpool, NY
1Mrs. Smith215 888 4568200 Block Ave, Hardrow, NJ

 

What I really need help with is to have the script count the number of instances of Row1 and then script that the rawValues of each field contained in the visible repeatable table 1 Row1 equals the rawValues of the hidden repeatable table 1 Row 1 that are bound to the database columns.

 

HiddenSubform.Table1._Row1.CustomerName.rawValue = VisibleSubform.Table1._Row1.CustomerName.rawValue;

HiddenSubform.Tabe1._Row1.PhoneNumber.rawValue = VisibleSubform.Table1._Row1.PhoneNumber.rawValue;

DatabaseName.update();

 

Any help is appreciated!


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>