See, i made a form, which, you can fill up your name, age , nationality etc. It also updates, delete records using formcalc script "xfa.host.MyDataconnection.update()" etc. and yeah, it is working, so i add another feature to the form, where it filters the name using data drop down list. So now, i have 2 fields that is bound in one column, specifically "Name". the first one is binded in the data drop down list and the second one is, binded in the Name textbox. After that, i can fill up entries on every textbox, but whenever i update it, it says something about "duplicate data". And my Name in the Access Database is also set to Primary key. So what i did was remove the primary key on the name column, and then start testing the form again. so, it works, yeepeee, BUT, it duplicates every update i made, well, what i want is, whenever i made a record about one name. and whenever i like to update its other columns for example, i have a typo in his nationality, i only want it to update not to make another record of it. can you please help with this, :(.
Regards,
rroan13
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script