【发布时间】:2016-07-26 01:22:48
【问题描述】:
我需要创建一个很长的复杂字符串列表,其中包含不同位置的不同字段的数据,以创建解释性报告。 在 Access 2010 中,我设想的唯一方法是将文本部分以及用于组成要显示的字符串的字段名称保存在表格中(参见图中的 line1 表达式)。简要说明:
//field A contain a string with a field name:
A = "[Quantity]"
//query expression:
=EVAL(A)
//return error instead the number contained in field [Quantity], present in the query dataset
我想对字段 (A) 执行 EVAL,以获得字段 (B) 的值,该字段的名称包含在字段 A 中。但似乎不起作用。 有什么办法吗?
示例(非常简化): Sample query that EVAL a field containing other field names to obtain the value of the fields
有什么想法吗? PS:对不起我的英语,不是我的母语。
【问题讨论】:
标签: string ms-access ms-access-2010 eval indirection