抑制参数字段以选择所有字段 [英] suppressing parameter fields to select all fields

查看:101
本文介绍了抑制参数字段以选择所有字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用参数字段时,系统会提示我们提供参数值,以便过滤记录。假设用户没有输入参数值,在这种情况下我想显示没有任何选择公式的所有记录。我该怎么做?

when using Parameter fields, we are prompted to supply parameter values so that records can be filtered. suppose the user enters no paramter value, in that case i want to display all the records without any selection formula. how do i do this?

推荐答案

通常你会在你的存储过程中处理这个数据库,所以如果参数是Null或''然后做一些事情,否则,用你的select语句做其他事情。

Normally you would handle this in your stored procedure in the database, so that if the parameter isNull or '' then do something, otherwise, do something else with your select statement.

P


这篇关于抑制参数字段以选择所有字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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