# Another Jython question

**URL:** <https://forum.inductiveautomation.com/t/another-jython-question/441>\
**Category:** Archived Topics\
**Created:** [December 12, 2007, 6:12pm UTC](https://forum.inductiveautomation.com/t/another-jython-question/441 "2007-12-12T18:12:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhardin](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jhardin](https://forum.inductiveautomation.com/u/jhardin)\
**Post date:** [December 12, 2007, 6:12pm UTC](https://forum.inductiveautomation.com/t/another-jython-question/441/1 "2007-12-12T18:12:16Z")

</div>

OK so after reviewing online information for Python how do I get the scripts that I write in Jython to work with objects in PMI and is there documentation that provides object and their related methods, events, and properties that can be accessed via Jython?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 12, 2007, 6:29pm UTC](https://forum.inductiveautomation.com/t/another-jython-question/441/2 "2007-12-12T18:29:39Z")

</div>

The user manual would be a good place to start. Check out the Technical Reference \> Jython section.

There is also some information that you might find useful Designer \> Concepts \> Events

Hope this helps,

---

<div class="post-metadata">

**Author:** ![jhardin](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jhardin](https://forum.inductiveautomation.com/u/jhardin)\
**Post date:** [December 12, 2007, 7:32pm UTC](https://forum.inductiveautomation.com/t/another-jython-question/441/3 "2007-12-12T19:32:02Z")

</div>

OK next question and I have not been able to find much information on the topic. How can I connect to a sql server db using jython and then bind the results to a dataset for a dropdown or table?

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 12, 2007, 7:40pm UTC](https://forum.inductiveautomation.com/t/another-jython-question/441/4 "2007-12-12T19:40:43Z")

</div>

It sounds like you just want to set up a binding on the dropdown or table’s data property. This has nothing to do with scripting.

It sounds like you’re a bit rusty on the fundamentals of how to use FactoryPMI. I suggest you read through the Designer \> Concepts section of the user manual. Or you might want to sign up for one of our online training courses.

Hope this helps,

---

<div class="post-metadata">

**Author:** ![nathan](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@nathan](https://forum.inductiveautomation.com/u/nathan)\
**Post date:** [December 13, 2007, 8:32am UTC](https://forum.inductiveautomation.com/t/another-jython-question/441/5 "2007-12-13T08:32:07Z")

</div>

Send me a PM. I’m willing to schedule a time for a quick introduction to FPMI over gotomeeting if you’d like.
