A
Ann Scharpf
I'm running Access 2003. I've looked at the posts here and thought I had
done the wildcard correctly but I am getting no results for data that I know
does exist. If I remove the wildcard and paste an exact string that exists
in the queried field, I do get results. If I add the wildcard and paste the
exact same string, I get a blank results table. Nor do I get any results if
I enter say only one word that is in the string.
Here is the SQL of my query. Can anyone see what I have done wrong?
Thanks in advance for your help!
SELECT [ABOMTR XML-phase2].ExtXHTML, [ABOMTR XML-phase2].MainXHTML, [ABOMTR
XML-phase1].XMLCode, [ABOMTR XML-phase1].ProgramName
FROM [ABOMTR XML-phase2] LEFT JOIN [ABOMTR XML-phase1] ON [ABOMTR
XML-phase2].MainXHTML = [ABOMTR XML-phase1].MainXHTML
GROUP BY [ABOMTR XML-phase2].ExtXHTML, [ABOMTR XML-phase2].MainXHTML,
[ABOMTR XML-phase1].XMLCode, [ABOMTR XML-phase1].ProgramName
HAVING ((([ABOMTR XML-phase2].ExtXHTML)="*" & [Enter code for which you want
to find linked programs:] & "*"));
done the wildcard correctly but I am getting no results for data that I know
does exist. If I remove the wildcard and paste an exact string that exists
in the queried field, I do get results. If I add the wildcard and paste the
exact same string, I get a blank results table. Nor do I get any results if
I enter say only one word that is in the string.
Here is the SQL of my query. Can anyone see what I have done wrong?
Thanks in advance for your help!
SELECT [ABOMTR XML-phase2].ExtXHTML, [ABOMTR XML-phase2].MainXHTML, [ABOMTR
XML-phase1].XMLCode, [ABOMTR XML-phase1].ProgramName
FROM [ABOMTR XML-phase2] LEFT JOIN [ABOMTR XML-phase1] ON [ABOMTR
XML-phase2].MainXHTML = [ABOMTR XML-phase1].MainXHTML
GROUP BY [ABOMTR XML-phase2].ExtXHTML, [ABOMTR XML-phase2].MainXHTML,
[ABOMTR XML-phase1].XMLCode, [ABOMTR XML-phase1].ProgramName
HAVING ((([ABOMTR XML-phase2].ExtXHTML)="*" & [Enter code for which you want
to find linked programs:] & "*"));