Ask a Question related to Coldfusion Database Access, Design and Development.
-
dtubbs #1
Access 2003 query not same as in CF
Hello..
I'm hoping this is simple, but it seems odd to me. I created a query in CF
and when I run it in the cf page, it returns 0 records. I turned on debugging
and then reran the query, then cut and paste the query returned in debug mode
to Microsoft Access. It returns the records I'm expecting. I've used access
for quite a while now and have had consistent results using this method. I've
just started using MS access 2003. Any ideas would be greatly appreciated.
This is my query below:
SELECT DISTINCT assets.assetid, assets.fileName, assets.filePath,
assets.description, assets.mediaTypeFK
FROM mediaType INNER JOIN ((assetKeyword INNER JOIN keywords ON
assetKeyword.keywordIdFK = keywords.keywordId) INNER JOIN assets ON
assetKeyword.assetIdFK = assets.assetid) ON mediaType.mediaTypeId =
assets.mediaTypeFK
WHERE mediaTypeFK = 1
AND keywords.keywordDesc Like '*computer*'
dtubbs Guest
-
sorting data with asp and access 2003
I trying to learn how to sort a data in a database by what is put into the input fields. The server script that i'm using is asp and i'll have a... -
ACCESS DENIED between 2003 and NT 4.0
I have two domains, one is Server 2003 (called "ALPHA") with active directory, the other is NT 4.0 (Called "BETA"). I have set up a two way trust... -
can't access applications on 2003 server
I can''t access MS Office applications on a 2003 server unless I'm logged in as administrator. How can I change these settings to allow anyone to... -
VPN Access to 2003 Domain
Try using the fully qualified name when connecting. \\computername.dnsdomain.???\share "Mark Day" <mark.day@NOSPAM_solortec.co.uk> wrote in... -
newbie: access db & server 2003
Hi! I'm a newbie creating my first site with a database and am experiencing the following problem. I have created the site in FrontPage. When... -
paross1 #2
Re: Access 2003 query not same as in CF
Bad wildcard character. You can use * in Access, but from CF (through ODBC) you
need to use %
SELECT DISTINCT assets.assetid, assets.fileName, assets.filePath,
assets.description, assets.mediaTypeFK
FROM mediaType INNER JOIN ((assetKeyword INNER JOIN keywords ON
assetKeyword.keywordIdFK = keywords.keywordId) INNER JOIN assets ON
assetKeyword.assetIdFK = assets.assetid) ON mediaType.mediaTypeId =
assets.mediaTypeFK
WHERE mediaTypeFK = 1
AND keywords.keywordDesc Like '%computer%'
Phil
paross1 Guest
-
dtubbs #3
Re: Access 2003 query not same as in CF
Thanks that did it.
Appreciate such a quick response.
dtubbs Guest



Reply With Quote

