搜索错误 [英] Search error

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

问题描述

大家好,

我使用此代码搜索Reg No:

hi all,
I m using this code for searching with respect to Reg No:

展开 | 选择 | Wrap | 行号

推荐答案


大家好,

我使用此代码搜索Reg No:

hi all,
I m using this code for searching with respect to Reg No:

展开 | 选择 | Wrap | 行号



试试这个:


Adodc1.CommandType = adCmdText

Adodc1.RecordSource =" SELECT * FROM TableName WHERE FieldName =''" &安培; txtREG.Text& "''"

adodc1.refresh


问候

ervin
Try This One:

Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "SELECT * FROM TableName WHERE FieldName=''" & txtREG.Text & "''"
adodc1.refresh

Regards
ervin



Thanxxxxxxxxxxxxxxxx Ervin

这个Thanx用于回答我的所有问题。

Thanxxxxxxxxxxxxxxxx Ervin
And this Thanx for answering my all questions at time.



试试这一个:


Adodc1.CommandType = adCmdText

Adodc1.RecordSource =" SELECT * FROM TableName WHERE FieldName 的= '' " &安培; txtREG.Text& "''"

adodc1.refresh


问候

ervin
Try This One:

Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "SELECT * FROM TableName WHERE FieldName=''" & txtREG.Text & "''"
adodc1.refresh

Regards
ervin



Hello Ervin,

此代码无效。

我有一个名为Information的数据库

表名是Info

我必须搜索名称和注册否两者。

请解决问题

Thanx

Hello Ervin,
This code is doing nothing.
I have a database named Information
Table Name is Info
And i have to search about Name and Reg No both.
Please solve the problem
Thanx


这篇关于搜索错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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