Discussion Locked

Interdev databinding

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I've setup an ASP page with an access database backend, however when i enter data the database doesn't take any of the data I enter. I've set all the properties to spec. My guess is that the database is being opened exclusively by the server and not allowing any updates. Is there a way around this?

3 replies

by luke tennant

Databinding is for wimps. Create an odbc layer on the server machine that points to your database, then use the recordset methods
ie:

function openConnection(dsn){
oConn = Server.CreateObject("adodb.connection");
oConn.Open("DSN="+dsn);
srs = Server.CreateObject("adodb.recordset");// 'Server side Recordset
srs.ActiveConnection = oConn;
}

This is server side javascript, but vb script can be used. This must be server side. Establishing the ODBC layer may allow your databound controls to work.

This discussion is closed to new replies.