将组合值传递给查询 [英] Pass Combo Value to Query

查看:50
本文介绍了将组合值传递给查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个名为:frmSurveyInput

的表单在表单上有两个控件。

1. cboTableSelect - 选择输入表

2 .cmdQrySurveyInput - 运行qrySurveyInput


cboTableSelect从以下值获取它的值:

I have a form named: frmSurveyInput
On the form there are two controls.
1. cboTableSelect - select input table
2. cmdQrySurveyInput - run qrySurveyInput

cboTableSelect gets it''s values from:

展开 | 选择 | 换行 | 行号

推荐答案

要运行更新,您只需执行SQL语句即可。类似于:
To run the update, you can just execute an SQL statement. Something like:
展开 | 选择 | Wrap | 行号


@ChipR


对于未指定的表格名字,我会用:
@ChipR
For unspecified table names, I''d use :
展开 | 选择 | Wrap | 行号


谢谢NeoPa,我明白你的意思了,我将来一定会这样做。
Thanks NeoPa, I see what you mean, and I''ll be sure to do that in the future.


这篇关于将组合值传递给查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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