They have a new data collection station. The people here are using
access 97....
This third party site will only post data back to us when we do this.
http://www.datastuff.com/cgi-bin/ocs...=7-5&Select=CC
this is posted back to us as a file called data.
There is no extension to is so the first thing that IE does is ask to
save and where.
I want to be able to open this file in access but the first problem is
no way to auto save.might be because it has no file extension
this is the code I was trying
================================================== =
Dim fileName As String
fileName =
http://www.datastuff.com/cgi-bin/ocs...=7-5&Select=CC
Set tdf = CurrentDb.CreateTableDef(NAME:="AMIONtemp",
connect:="Text;" & fileName)
Call DoCmd.TransferText(TransferType:=acImportDelim,
tableName:="TestTemp", fileName:=fileName)
================================================== ==
I was trying to just capture the data instead of dl the data.
=====================================
so then I tried
==========
Dim logon As String
Dim rpt As Integer
Dim fileURL As String
Dim rstLog As Recordset
Dim rstSchedule As Recordset
logon = "yourname"
rpt = 703
fileURL = "http://www.datastuff.com/cgi-bin/ocs?" & _
"Lo=" & logon & _
"&Rpt=" & rpt & _
"&Month=" & month & "-" & year & _
"&Select=" & clinic
=========
thinking that the ? would have to be parsed into the name...but I am
not even sure if this is a problem or exactly what the problem is.
but even when I go to the link and put in the data it prompts for a
save.
But its not like a normal open/save/cancel its just save/cancel
so does this file exist at the time?
is there a way to have access get the tab delimited data from this
link and import it directly into access table?
if not is there a way to automate the save so there is no prompt,
allow me to pass the save parameters and have it save automatically so
the user sees nothing. and then open the file locally and import is no
problem.
this is my first experience with this type of thing and I have no idea
exactly what I am trying to do.
I just need to get the data into a table without the user doing
anything but picking a month and a year from a pulldown. Has anyone
tried to import text in this type of situation?
thanks for any ideas
Jerry