scottobear: (Default)
[personal profile] scottobear
http://www.princeton.edu/~hannahk/web2.gif

http://people.ne.mediaone.net/lmhansen/index.html

other snippets on how to connect access to the web.

http://www.mvps.org/access/modules/mdl0052.htm

http://www.mvps.org/access/modules/mdl0037.htm

note -

'*********** Code Start *************
Sub TestHTTP()
On Error GoTo ErrHandler
Dim objHTTP As InetTransferLib.HTTP
Const conTARGET = "http://www.mvps.org/access/acknowledge.htm"

Set objHTTP = New InetTransferLib.HTTP
With objHTTP
.About
.HttpURL = conTARGET
'.DestinationFile = "j:\temp\test.htm"
.PromptWithCommonDialog = True
If .FileExists Then .OverwriteTarget = True
If Not .IsConnected Then .DialDefaultNumber
.ConnectToHTTPHost
.WriteHTTPDataToFile
End With
ExitHere:
On Error Resume Next
Set objHTTP = Nothing
Call SysCmd(acSysCmdRemoveMeter)
Exit Sub
ErrHandler:
MsgBox Err.Number & vbCrLf & Err.Description, vbCritical + vbOKOnly, Err.Source
Resume ExitHere
End Sub
'*********** Code End *************

as an example.

from - http://www.princeton.edu/~hannahk/WebPubl.htm


How do I create a procedure to add data to my database?
This is much more difficult and requires creating an idc (Internet Database Connector) file.

Design an Access 97 database or use an existing database
Use the Save as HTML option under the File menu. This starts the Publish to the Web wizard.
Select a table, query, or form to use as the basis of your report.
Choose the Dynamic HTX/IDC option
Provide the Data Source Name. This is the name that the Web server uses to identify your database.
Save your database htm/idc/htx files to a directory on your hard disk. Modify the htm/idc/htx files that are created with a text editor such as WordPad or a Web authoring tool such as Claris HomePage.
Move your database file (.mdb) and the htm/idc/htx files to a Novell directory. You will need to create a special subdirectory and register it with the Web server administrator.
Demo of adding data to the Student Jobs database. The URL is

http://winweb.princeton.edu/dbwtest/hpajb.htm
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

scottobear: (Default)
scott von berg

April 2017

S M T W T F S
       1
2 345678
9 10 11 12 13 14 15
16 1718 19 20 21 22
23 2425 26 2728 29
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 10:20 pm
Powered by Dreamwidth Studios