Queryprompts And Listboxes 关注

0
Avatar
Legacy Poster

WinXP BT9.3

Is it possible to take the selected item from a listbox and use it as the answer for a queryprompt in a BT generated SQL statement? (So far, I've got a list box filled from an Access database using VB script). The script that generated the listbox is contained in the prompt for a label object that is connected to the same database.

Where do I go from here?

2 评论

0
Avatar
Ian Cummings
版主
评论操作 固定链接

Nope, this is not yet supported. Query prompts are limited to a text data input box.

The only workaround is to develop a front-end application using something like VB.NET, giving you the freedom to design the input form as you wish with this application then controlling BarTender via the automation interface. See the below white papers to get you started.

http://s3.amazonaws.com/SeagullBarTender/ftp/WhitePapers/WhitePaper_BarTenders.NET_SDKs_English.pdf

http://s3.amazonaws.com/SeagullBarTender/ftp/WhitePapers/WhitePaper_BarTendersActiveXAutomationInterface.pdf
0
Avatar
Legacy Poster
评论操作 固定链接

[quote name='Ian C - Seagull Support' timestamp='1343394458' post='2971']
Nope, this is not yet supported. Query prompts are limited to a text data input box.

The only workaround is to develop a front-end application using something like VB.NET, giving you the freedom to design the input form as you wish with this application then controlling BarTender via the automation interface. See the below white papers to get you started.

http://s3.amazonaws.com/SeagullBarTender/ftp/WhitePapers/WhitePaper_BarTenders.NET_SDKs_English.pdf

http://s3.amazonaws.com/SeagullBarTender/ftp/WhitePapers/WhitePaper_BarTendersActiveXAutomationInterface.pdf
[/quote]

Thanks Ian.

请先登录再写评论。