Yes. if the names of your fields are correct - Your screenshot does not show enough detail.You should be able to test it in the Preview panel, by typing in the comb, and clicking out of the field.THe barcode value should change to the value you entered.
You can make this work, if you can pull your choice fields out of your Printable Body text and answer them above/below your printable text field. You can then use the exit events of the Data Capture fields to set the rawValue of the in-stream text elements. The printable body of text you are trying...
Here is a link that will hopefully help.The servlet that is receiving the PDF is returning a http responsehttp://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000186.htmlGood LuckMark
If the conditional SQL is critical to your logic, vs. splitting the SQL into 2 activities/calls,Then you may want to look at using Java inside an ExecuteScript activity.You usually have more flexibility using a prepareStatement, but you need to be sure to trap and handle and errors.Mark