如何从Combobox选择创建SQL语句? [英] How to create SQL Statement from Combobox Selections?

查看:63
本文介绍了如何从Combobox选择创建SQL语句?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我有2个Combobox,一个显示表列表和另一个选定表的字段列表。只有在选择第一个时才会激活秒。

目前它工作正常。

我想在Combobox上添加一些工作来让用户创建自己的SQL语句,以便它可以用来创建查询。

这怎么可以实现?

Hi all!
I have 2-Combobox, one shows tablelist and another fieldlist of selected tables. the Second is activated only when the first is selected.
Currently it works fine.
I want to add a bit work around on the Combobox to let users Create their own SQL Statement so that it can be used to create a query.
How can this be achieved?

推荐答案

对于需要询问的人来说,这有点野心。


到目前为止你有什么?
That''s a bit ambitious for someone that needs to ask.

What have you got so far?


谢谢你!


好吧!

我的位置更好解释了!

我有一个Combobox(cbxTables),它使用ROWSOURCE选择数据库中的表,如下所示
Well neopa!
Am in position of explaining much better!
I have a Combobox (cbxTables)which selects tables in database with a ROWSOURCE as follows
展开 | 选择 | Wrap | 行号


这篇关于如何从Combobox选择创建SQL语句?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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