MS Access中的搜索引擎 [英] Search Engine in MS Access

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

问题描述

嘿,我正在做一个家谱数据库,我正在尝试将搜索引擎放入......我已经有了功能强大的搜索引擎,但有一些问题。它搜索多个字段,例如FirstN,MiddleN,LastN,。我得到的问题是搜索必须按照代码的顺序输入...

所以如果我输入


FirstName那么LastName我得到并且错误,因为代码请求中间名..


但是如果我输入中间名和LastName它可以工作,如果我按顺序输入所有三个名称也可以第一个,中间和最后一个。


我使用一个文本框来搜索所有字段,就像谷歌一样。


如果有人有编码,请帮忙我想发布编码,但是我离开了我的电脑,所以如果你想要编码只是在这里给我留言并生病后发送..我有一个想法,它可能是我的if声明...但请帮助

Hey I''m doing a genealogy database and I''m trying to place a search engine in... I already have functioning search engine but have a couple problems. It searches multiple fields for example FirstN, MiddleN, LastN,. The problem im getting is that the search must be entered in the order of the code...

So if I enter

FirstName then LastName I get and error because the code requests the Middle Name..

But if I enter the Middle Name and LastName it works it also works if I enter all three name in the order of First, Middle and last.

I use one text box to search all fields just like google.

Please if anyone have coding please help I would have like to post the coding but I''m away from my computer so if you want the coding just message me here and ill send later.. I have an idea that it might be my if statement... But please help

推荐答案

请发布您尝试过的内容,我们可以为您提供帮助。
Please post what you have tried and we can help you with it.


好的我已经离开了我的跳转驱动器当我回来的时候编码家庭soo我会尽快发布
Ok I have left my jump drive with the coding home soo when I get back I will post it as soon as I can


好的我跑了我通过查询进行编码..所以在我放置的字段中;

Ok I run me coding through a query.. so in the field section I place;

展开 | 选择 | Wrap | 行号


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

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