访问WebApp:是/否参数查询 [英] Access WebApp: Yes/No Parameter Queries

查看:64
本文介绍了访问WebApp:是/否参数查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用Access WebApp运行查询时,我正在寻求帮助解决Access Services中的关联ID错误。查询的目的是返回在数据库中具有多个是/否数据字段的特定组合的记录。
我使用以下支持视频中的说明开发了查询,用户表单和结果数据表单:

I am looking for assistance troubleshooting a correlation ID error from Access Services when trying to run a query using Access WebApp. The purpose of the query is to return records that have a certain combination of multiple yes/no data fields in the database. I developed the query, user form, and results data form using the directions from the following support videos:

https://support.office.com/en-us/ article / Video-Parameter-queries-in-Access-Apps-part-1-Create-and-test-the-query-16744dbe-523c-40a5-887f-04a06ae168ee

https://support.office.com/en-us/article/Video-Parameter-queries-in-Access-Apps-part-1-Create-and-test-the-query-16744dbe-523c-40a5-887f-04a06ae168ee

https: //support.office.com/en-us/article/Video-Parameter-queries-in-Access-Apps-part-2-Create-the-views-needed-to-run-the-query-c0b103f1-81db- 4ddc-8af8-77ebc427ed96

https://support.office.com/en-us/article/Video-Parameter-queries-in-Access-Apps-part-2-Create-the-views-needed-to-run-the-query-c0b103f1-81db-4ddc-8af8-77ebc427ed96

我还尝试通过仅使用仅使用一个请求的是/否参数的是/否参数查询来简化表单反对真正必要的组合。在任一情况下,当我将
从设计视图转移到访问的数据表视图时,查询在本地版本中工作得很好。但是,通过Office365 Sharepoint使用表单时,会产生相关ID错误。我使用Sharepoint支持进行了故障排除,他们认为这是构建Web应用程序查询的问题。

I also tried to simplify the form by only using a yes/no parameter query that uses only one requested yes/no parameter as opposed to the combination that is really necessary. Under either scenario the query works just fine in the local version when i shift from design view to the datasheet view of access. However, when using the forms through Office365 Sharepoint it yields a correlation Id error. I troubleshooted with Sharepoint support and they believe it is a problem with how the web app query is built.

查询中条件的格式是什么?它目前正在为每个参数使用[parameter1] [parameter2]等。我在Web应用程序表单中使用了相同的控件名称参数。

What is the format for the criteria in the query? It is currently working with [parameter1] [parameter2] etc. for each parameter. I used the same parameter for the Control Name in the web app form.

非常欢迎任何建议!







推荐答案

你好,

您使用什么控件来传递参数?

What control do you use to pass the parameter?

如果该字段是YES / NO字段,我认为我们需要从复选框中获取值。

If the field is a YES/NO field, i think we need to get the value from a check box.

例如

问候,

Celeste


这篇关于访问WebApp:是/否参数查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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