How To Make A Link Between Two Combobox ?? 追蹤

0
Avatar
Legacy Poster

Hi


I have two combo box first has a list items: Toyota


                                                                   Nissan


                                                                   Mazda


if i choose Toyota then i want second combo box to show me Corolla - Prius - Yaris


if i choose Nissan then i want second combo box to show me Sunny - Maxima - Tida


etc...


How to make a link between these two combobox ??


Thanks

5 意見

0
Avatar
Ian Cummings
版主
評論操作 永久連結

Sorry but BarTender's form functionality doesn't support this functionality just yet.  Your alternative is to create a front-end application form to your liking using VB.NET or C#, and then control BarTender via automation.  See this white paper for more info on this: http://www.seagullscientific.com/label-software/whitepapers/controlling-barcode-label-software-using-c-sharp-and-vb.net(english).pdf

0
Avatar
Legacy Poster
評論操作 永久連結

Could you use VB script to control the data in the 2nd box?

0
Avatar
Ian Cummings
版主
評論操作 永久連結

You can run a VB script in form controls, but you cannot get an updated value of other form controls in the form which the user has changed.

0
Avatar
Legacy Poster
評論操作 永久連結

Thanks

0
Avatar
Legacy Poster
評論操作 永久連結

So instead of using two combo boxes you would have to use a database query and a combo box?  You could create a small excel file to use as a database and the when the label document is selected to print the user would have to select which manufacturer is was, after that selection they would be presented with the database entry form which would be only the selections for that manufacturer.

登入寫評論。