访问SQL语法问题 [英] Access SQL Syntax Issues

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

问题描述

大家好。我希望有人能指出我正确的方向。


我有一个输入表单,我从下拉列表中选择了一个组合框以填充文本框。如果不使用下拉选项,我还希望用户能够在文本框中实际输入内容。我已经在文本框的控制源中尝试了sql代码,但我的语法已关闭,我不知道去哪里学习语法课程。我非常精通Transact-SQL但是在Access中使用的任何内容都让我感到不安。


我也尝试将文本框的控制源设置为组合框。这在一定程度上起作用。它将选择从Comb Box传递到文本框,并允许我键入文本框,但然后它也将该文本放入组合框中。


我在Windows XP上使用Access 2002 SP3。


谢谢

JMC

解决方案

您已(意外)在访问文章部分中发布了此问题。这不是一篇文章。

我正在把它移到主要的Access问题论坛。


版主。


< blockquote>


大家好。我希望有人能指出我正确的方向。


我有一个输入表单,我从下拉列表中选择了一个组合框以填充文本框。如果不使用下拉选项,我还希望用户能够在文本框中实际输入内容。我已经在文本框的控制源中尝试了sql代码,但我的语法已关闭,我不知道去哪里学习语法课程。我非常精通Transact-SQL但是在Access中使用的任何内容都让我感到不安。


我也尝试将文本框的控制源设置为组合框。这在一定程度上起作用。它将选择从Comb Box传递到文本框,并允许我键入文本框,但然后它也将该文本放入组合框中。


我在Windows XP上使用Access 2002 SP3。


谢谢

JMC



您是否考虑过在AfterUpdate事件过程中使用VBA代码?



您是否考虑过在AfterUpdate事件过程中使用VBA代码?



我已经考虑过了,但我不太了解VBA,甚至没有尝试过。


Hi Everyone. I hope someone can point me in the right direction.

I have an input form where I have set one Combo Box to fill in a Text Box when a selection is made from the drop down. I would also like the user to have the ability to actually type something into the Text Box if the drop down selection is not used. I''ve tried sql code in the Control Source of the Text Box but my syntax is off and I don''t know where to go to get a lesson on syntax. I am very proficient at Transact- SQL however whatever is being used in Access eludes me.

I''ve also tried setting the Control Source of the Text Box to the Combo Box. This works to an extent. It passes the selection from the Comb Box to the Text Box and allows me to type in the Text Box but then it puts that text in the Combo Box also.

I''m using Access 2002 SP3 on Windows XP.

Thanks
JMC

解决方案

You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
I''m moving this to the main Access questions forum.

MODERATOR.


Hi Everyone. I hope someone can point me in the right direction.

I have an input form where I have set one Combo Box to fill in a Text Box when a selection is made from the drop down. I would also like the user to have the ability to actually type something into the Text Box if the drop down selection is not used. I''ve tried sql code in the Control Source of the Text Box but my syntax is off and I don''t know where to go to get a lesson on syntax. I am very proficient at Transact- SQL however whatever is being used in Access eludes me.

I''ve also tried setting the Control Source of the Text Box to the Combo Box. This works to an extent. It passes the selection from the Comb Box to the Text Box and allows me to type in the Text Box but then it puts that text in the Combo Box also.

I''m using Access 2002 SP3 on Windows XP.

Thanks
JMC

Have you thought about using VBA code within the AfterUpdate event procedure(s)?


Have you thought about using VBA code within the AfterUpdate event procedure(s)?

I''d thought about it but I don''t know VBA well enough to even attempt that.


这篇关于访问SQL语法问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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