DHTML & MS Access 
Author Message
 DHTML & MS Access

Hey,

Does anyone know if it is possible to read/write to an Access database
through DHTML???  If it is possible - how to do it?

TIA

*** Sent via Developersdex http://www.*-*-*.com/ ***
Don't just participate in USENET...get rewarded for it!



Sat, 28 Aug 2004 11:56:15 GMT  
 DHTML & MS Access
is dhtml as in vb project template? so called dhtml page,
if u r referring to that, then u can try calling these statements:

    dim cn As new adodb.connection
    dim rs As new adodb.recordset
    'connection varied slightly from type of db u r connecting.
    'u can check out the access connection string format from msdn.
    cn.connectionstring = "dsn=dsnname;uid=userid;pwd=password"
    cn.connectiontimeout = 0
    cn.commandtimeout = 0
    cn.open

    'open recordset.
    rs.open "select something from table", cn, adOpenDynamic,
adLockOptimistic
    if not (rs.eof) Then
        'do your stuff here
    End If
    rs.close
    cn.close

as you can see, the syntax is exactly the same as the way you connect to
access db using
normal EXE project.

if u want to know more. write to me.

hope this helps.
good day.


Quote:
> Hey,

> Does anyone know if it is possible to read/write to an Access database
> through DHTML???  If it is possible - how to do it?

> TIA

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Tue, 05 Oct 2004 12:45:27 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. MS Access & MS Word Automation/Security Issue

2. Visual Basic 6 and DHTML - How do i access Dhtml Object

3. accessing MS access database using VB&CGI

4. Accessing current record in MS Access with DDE from MS Word

5. Regarding Accessing External database using MS-Access and MS-Visual Basic

6. Link MS Access on PocketPC to Desktop MS Access

7. MS DHTML Edit Control

8. Replacement for the MS DHTML control.

9. MS DHTML ActiveX control?

10. MS Access & C++

11. MS Access & Print to file

12. MS Access Form & ASP

 

 
Powered by phpBB® Forum Software