所选项目范围
我有两个 cmbobox,显示协调员没有的所有情况。请注意,案例号不是连续的,这意味着 1 个案例可以是 001,下一个可以是 010、014、019 等等
。协调员 A 有 4 个案例,编号为 4。 1,3,5,8,25。(这将采用列表形式,并且将是组合框 from 和 to 的项目源)
用户必须选择她想要打印的案例。 cboFrom.selectedItem = 3 cboFrom.selectedItem = 8 通过选择 3 和 8,程序将必须生成邮件合并案例编号。 3、5 和 8。
问题是我如何获得案件编号。在选择的 from 和 to 项目之间? 我不能使用 for 循环,因为它不是连续的。最好的方法是什么?抱歉,我没有找到解决方案,因为没有任何效果,而且我一无所知。我只知道它是否是问题或在日期范围内。
感谢您的帮助。
I have two cmboboxes that displays all the cases no a coordinator has. Note that the case no is not sequential meaning 1 case can be no.001 the next can be 010, 014, 019 and so on..
ex. coordinator A has 4 cases with nos. 1,3,5,8,25.(this will be in a list form and will be the itemsource of both comboboxes from and to)
The user has to choose the case(s) she wants to print.
cboFrom.selectedItem = 3
cboFrom.selectedItem = 8
By choosing 3 and 8, program will have to generate mail merge case no. 3, 5 and 8.
Question is how do I get the case(s) no. in between the selected from and to items?
I can't use for loop since it is not sequestial. What is the best way? Sorry I didn't come up to a solution coz nothing is working and I am clueless. I only know if it is squestial or in date range.
thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)