![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using a query from training exercise on the internet. Read down below: http://www.ms-access2010.com/tutorials/queries.html SELECT Customers.[First Name], Customers.[Last Name], Customers.[Home Phone], Customers.[E-mail Address], Customers.Sex FROM Customers WHERE (((Customers.Sex)='F')) ORDER BY Customers.[Last Name]; Now,.. I have my own created database from Excel spreadsheets. The database has a comments column that has words, sentences and comments...etc. My problem/Question: Is it possible to just do the same query for the comments column(field) but only look for a word like 'tyrone_bak'. My problem: No rows are displaying with the words 'tyrone_bak'. Just the * and the Comments column with no data. Record 1 of 1 in the bottom left corner. The comments field might have "Tyrone_bak belongs to the executive committee" or "Tyrone_bak is still learning about databases". Thanks a million, Ty |
|
0 |
#3
| |||
| |||
|
|
I'm using a query from training exercise on the internet. Read down below: http://www.ms-access2010.com/tutorials/queries.html SELECT Customers.[First Name], Customers.[Last Name], Customers.[Home Phone], Customers.[E-mail Address], Customers.Sex FROM Customers WHERE (((Customers.Sex)='F')) ORDER BY Customers.[Last Name]; Now,.. I have my own created database from Excel spreadsheets. The database has a comments column that has words, sentences and comments...etc. My problem/Question: Is it possible to just do the same query for the comments column(field) but only look for a word like 'tyrone_bak'. My problem: No rows are displaying with the words 'tyrone_bak'. Just the * and the Comments column with no data. Record 1 of 1 in the bottom left corner. The comments field might have "Tyrone_bak belongs to the executive committee" or "Tyrone_bak is still learning about databases". Thanks a million, Ty |
#4
| |||
| |||
|
|
Ty <tyrone_... (AT) yahoo (DOT) com> wrote innews:b8056f5a-2d90-464a-a4f0-711b925f9e48 (AT) x11g2000yqc (DOT) googlegroups.co m: I'm using a query from training exercise on the internet. *Read down below: http://www.ms-access2010.com/tutorials/queries.html SELECT Customers.[First Name], Customers.[Last Name], Customers.[Home Phone], Customers.[E-mail Address], Customers.Sex FROM Customers WHERE (((Customers.Sex)='F')) ORDER BY Customers.[Last Name]; Now,.. I have my own created database from Excel spreadsheets. The database has a comments column that has words, sentences and comments...etc. My problem/Question: *Is it possible to just do the same query for the comments column(field) but only look for a word like 'tyrone_bak'. My problem: No rows are displaying with the words 'tyrone_bak'. Just the * and the Comments column with no data. *Record 1 of 1 in the bottom left corner. The comments field might have "Tyrone_bak belongs to the executive committee" or "Tyrone_bak is still learning about databases". Thanks a million, Ty You need to research the help for 'wildcard' Basically, if you want to find a string of characters that are contained anywhere in the field you put an asterisk before and after your search key.e.g. WHERE Customers.Comments like '*tyrone_bak*' -- Bob Q. PA is y I've altered my address.- Hide quoted text - - Show quoted text - |
#5
| |||
| |||
|
|
On Feb 10, 3:54*pm, Bob Quintal <rquin... (AT) sPAmpatico (DOT) ca> wrote: Ty <tyrone_... (AT) yahoo (DOT) com> wrote innews:b8056f5a-2d90-464a-a4f0-711b925f9e48 (AT) x11g2000yqc (DOT) googlegroups.co m: I'm using a query from training exercise on the internet. *Read down below: http://www.ms-access2010.com/tutorials/queries.html SELECT Customers.[First Name], Customers.[Last Name], Customers.[Home Phone], Customers.[E-mail Address], Customers.Sex FROM Customers WHERE (((Customers.Sex)='F')) ORDER BY Customers.[Last Name]; Now,.. I have my own created database from Excel spreadsheets. The database has a comments column that has words, sentences and comments...etc. My problem/Question: *Is it possible to just do the same query for the comments column(field) but only look for a word like 'tyrone_bak'. My problem: No rows are displaying with the words 'tyrone_bak'. Just the * and the Comments column with no data. *Record 1 of 1 in the bottom left corner. The comments field might have "Tyrone_bak belongs to the executive committee" or "Tyrone_bak is still learning about databases". Thanks a million, Ty You need to research the help for 'wildcard' Basically, if you want to find a string of characters that are contained anywhere in the field you put an asterisk before and after your search key.e.g. WHERE Customers.Comments like '*tyrone_bak*' -- Bob Q. PA is y I've altered my address.- Hide quoted text - - Show quoted text - Thank you!!! *This is answer is better. *The answer above is complicated for me at this time. *I'm able to view all rows that have the text with '*tyrone_bak*'.- Hide quoted text - - Show quoted text - |
![]() |
| Thread Tools | |
| Display Modes | |
| |