ms-access


read attachment field from accdb with classic asp3/vbscript


I have an attachment field in my accdb database file,
i'm trying to read it to extract the attachments but it keep return empty values
recording to this post Using Attachment field with Classic ASP
there is no way to do it with adodb, is true? and if yes, what other ways i have to do that ?
this is the code that i'm running:
qid = request.querystring("qid")
wikiDbAddress="database/my.accdb"
set cnWiki=server.CreateObject("adodb.connection")
cnWiki.open "DRIVER={Microsoft Access Driver (*.mdb, *.accdb)}; DBQ=" & Server.MapPath(root&wikiDbAddress)
SQL = "select * from [Knowledge Base] where id="&qid
RS.Open SQL, cnWiki
do while not RS.eof
response.write RS("attachments")
RS.movenext
loop

Related Links

Pass Parameter to Stored Procedure
Access 2007 VBA GoToRecord issue
MS Access 2012 Unresponsive to clicks when it has focus on citrix
Error 3155 (ODBC--insert on a linked table 'SAMPLE' failed)
I keep on getting an error 13 type mismatch error, How can I get it out?
MS Access Mark Duplicates in order of appearance
MS access: how to embed JPEG images and preview them?
Problems implementing basic VBA in Access 2007
Access query with unionall or crosstab in asp not working
Why does a datasheet view show only 100 records when based on sorted and filtered adodb recordset
Import MS Word Form Field to Access - Missing Reference?
MS Access forms Denied connection to SQL Express Backend
How can I test and handle a #Func! error from within a query?
Me.Dirty is false within Form_Dirty() event! - VBA MS Access 2007
null parameter between two dates in access 2007
MS Access Export via ODBC to Specific DB2 Schema

Categories

HOME
pandas
arduino-uno
cloud
hook
heroku
kde
homebrew
appx
grep
xmpp
filtering
analysis
baqend
here-api
row
google-cloud-ml
gz
msp430
worldwind
dosgi
facebook-page
openedx
opencover
core-text
pass-by-reference
language-agnostic
wijmo
dxf
fish
kannel
traffic
web-api-testing
minitab
buck
ejabberd-module
google-cloud-nl
media-queries
iframe-resizer
twilio-api
catel
gtrendsr
stringtemplate
vsts-build-task
lxd
asset-pipeline
http-referer
atl
mmenu
jmonkeyengine
appfabric
git-merge
occlusion
hue
mesos-chronos
ensembles
ncalc
pdf-reactor
turbogears
total-commander
thin
jsch
rainbowtable
smartcontracts
youcompleteme
pubmed
sage-one
elgg
worker-thread
directory-structure
zendesk-app
bind9
lync-client-sdk
django-scheduler
passport-google-oauth
radtreelist
packagist
revolution-r
uid
ford-fulkerson
qtableview
teamcity-8.0
endeca-workbench
feedback
content-length
tableau-online
vstest.console.exe
angular-local-storage
web-controls
key-management
e10s
sorl-thumbnail
tween
ng-animate
dd
doskey
cloud-connect
pyhdf
sharp-repository
cassini-dev
factory-method
manchester-syntax
armcc
semantic-diff
netdna-api
adk
php-parser
gcj
mod-auth
genshi
coercion
firefox4
audio-capture
project-hosting
mediarss

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App