•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 373,930 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,255 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:
Views: 14746 | Replies: 3
![]() |
•
•
Join Date: Feb 2005
Posts: 11
Reputation:
Rep Power: 4
Solved Threads: 0
Hey guys,
Basically i want to create a database in Access 2002 that will hold names of functions of a mobile phone. When the user enters a search the databse should query the information held within it, display the appropriate search results.
It should be able to serach for precise function names entered such as Write Message,Inbox, Message Settings, Clear Cache memory.
Partial words such as WRI would display WRITE messgae, Write email, TEmplate, and INB would display INBOX,and also ambigiuos words such as message the results should be Inbox, Outbox, saved messages etc. all words that are related to that catergory.
I am slighlty confused as to how i go about making the different tables as i have never used Access before. Should i create different tables for each main function such as Messgaes and list all function names as records within the table?? or have a table for all ambigiuos words and anoterh for partial?? and how it should be queried using SQL.
If you could help me out and lead me to a right direction i would be grateful!!
THANKS! :lol:
Basically i want to create a database in Access 2002 that will hold names of functions of a mobile phone. When the user enters a search the databse should query the information held within it, display the appropriate search results.
It should be able to serach for precise function names entered such as Write Message,Inbox, Message Settings, Clear Cache memory.
Partial words such as WRI would display WRITE messgae, Write email, TEmplate, and INB would display INBOX,and also ambigiuos words such as message the results should be Inbox, Outbox, saved messages etc. all words that are related to that catergory.
I am slighlty confused as to how i go about making the different tables as i have never used Access before. Should i create different tables for each main function such as Messgaes and list all function names as records within the table?? or have a table for all ambigiuos words and anoterh for partial?? and how it should be queried using SQL.
If you could help me out and lead me to a right direction i would be grateful!!
THANKS! :lol:
I'm no access wizzard, any reason you want to use access?
Realisticly, its got about a 20 user threshhold for multiple connections.
So if you are planning somthing big you might want to look into MSSQL PGSQL or MySQL
Realisticly, its got about a 20 user threshhold for multiple connections.
So if you are planning somthing big you might want to look into MSSQL PGSQL or MySQL
Firefox: no, its not the end all solution, it has its own issues and in time it will be just as insecure as IE, when its hit Firefox 6, if it makes it that far. Oh, and AOL pays for it, incase you didn't know.
Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Rep Power: 4
Solved Threads: 12
To do the sort of thing you wnat, you will have to design the DB in one of the following fashions...
1) keyword tables.... have tables with the correct word/term....then have fields for all the additional alternatives and abbrv.
2) generate standard tables with the keywards in, then ensure that you have strong queries that contain all the variants and abbrv.
I'd actually suggest both.
1) keyword tables.... have tables with the correct word/term....then have fields for all the additional alternatives and abbrv.
2) generate standard tables with the keywards in, then ensure that you have strong queries that contain all the variants and abbrv.
I'd actually suggest both.
•
•
Join Date: Nov 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi there,
You can use LIKE sql pattern matches in your embedded sql code of any HL Language.
There are two operators used with LIKE keyword. They are ' % ' ( for any no of characters after the character pattern) and ' _ ' (for a number of characters after the pattern).
For eg.
To search names partially in a table, its Vb code would look like this:
' other code as required
' ----------
wname=text1.text
rescordset.open "select name from tablename where name like '" & wname & "%'", connection_name,adOpenDynamic,adLockOptimistic,adCmdText
' or you can use this syntax
' rs is recordset name and cn is connection name
set rs=cn.Execute("select wname from tablename where name like '" & wname & "%'")")
It will 110% work I have used it.
Enjoy & Hav Fun ...................
You can use LIKE sql pattern matches in your embedded sql code of any HL Language.
There are two operators used with LIKE keyword. They are ' % ' ( for any no of characters after the character pattern) and ' _ ' (for a number of characters after the pattern).
For eg.
To search names partially in a table, its Vb code would look like this:
' other code as required
' ----------
wname=text1.text
rescordset.open "select name from tablename where name like '" & wname & "%'", connection_name,adOpenDynamic,adLockOptimistic,adCmdText
' or you can use this syntax
' rs is recordset name and cn is connection name
set rs=cn.Execute("select wname from tablename where name like '" & wname & "%'")")
It will 110% work I have used it.
Enjoy & Hav Fun ...................
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MS Access and FileMaker Pro Marketplace
•
•
•
•
access ajax apple asp avatar backup breach code combo computing core daniweb data data protection database design developer development dropdownlist government hacker ibm ip mac medicine microshaft microsoft module ms msdn net news normalization office pro processor reuse security server software sql survey vista web
- Updating database with related tables and queries?? (VB.NET)
- Registration and Login scripts using VB and Oledbconnection to Access Database (ASP.NET)
- Create an Access Database using Java (Java)
- request for ansi sql queries equalent to MS access (Visual Basic 4 / 5 / 6)
Other Threads in the MS Access and FileMaker Pro Forum
- Previous Thread: Validation rule required for time PLEASE HELP
- Next Thread: code for open PDF


Linear Mode