使用最大功能的Combobox RowSource [英] RowSource for Combobox using max function

查看:367
本文介绍了使用最大功能的Combobox RowSource的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的字节社区,


FrameWork:

我有一个包含以下字段的表:Id,Name,InterventionNumber,CheckPoint,Completed
在一个表单中,我有一个组合框,我想填充使用以下标准获得的条目:

-First:检查每个唯一名称的最大InterventionNumber;

-Second:使用Completed字段过滤第一个操作的结果(它是一个复选框)等于True


使用的代码:

Dear bytes community,

FrameWork:
I have a table with the following fields: Id, Name, InterventionNumber, CheckPoint, Completed
In a form, I have a combobox that I want to populate with the entries that are obtained using the following criteria:
-First: check the maximum InterventionNumber for each unique Name;
-Second: filter the results of the first operation using the Completed field (it is a checkbox) equals True

Code Used:

展开 | 选择 | Wrap | 行号

推荐答案

航空代码
Air Code
展开 | 选择 | Wrap | 行号


Hello PhilOfWalton,

感谢您的回复。

我理解了ideia而不是代码,特别是使用它的最后一部分Chr
Hello PhilOfWalton,

Thank you for your reply.
I have understood the ideia but not the code, in particular the last part where it is used Chr


(34)。


祝你好运
(34).

Best regards


这篇关于使用最大功能的Combobox RowSource的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆