web stats
Use Javascript to get (Select) data from SQL - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2011, 02:10 AM
Fysicon Fysicon is offline
Mirth Newb
 
Join Date: May 2010
Posts: 24
Fysicon is on a distinguished road
Question Use Javascript to get (Select) data from SQL

Does anyone have sample JavaScript code to get data from a SQL table and put this into a variable?

Thanks in advance,

Dennis
Reply With Quote
  #2  
Old 03-03-2011, 08:19 AM
upstart33 upstart33 is offline
Mirth Guru
 
Join Date: Dec 2010
Location: Chicago, IL.
Posts: 459
upstart33 is on a distinguished road
Default

Check out this post. It shows how to use Jscript with a SQL Select Query and assign some values. Its probably a little different then what you need since they are building new segments, but you should be able to use it.

http://www.mirthcorp.com/community/f...9&postcount=14
Reply With Quote
Reply

Tags
javascript sql select

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation