I'm currently working on a export tool, from an Access, database to Lotus, I've seen Query a Lotus 123 File message from NateO, that's where I gto the idea, I'm trying to implement this in a different way, let me send you the code:
As you can see this is a ASP application, with this one I can read what is on the Lotus file, unfortunately, when I've tried to update the file it is impossible, I've tried this thinking that any field on the Lotus file can be modified, it sends me and error,
when I ask for rsLotus.AddNew, it tells me
ADODB.Recordset (0x800A0CB3)
Object or provider could not execute the required operation.
And if I try to assign a value to the recordset
rsLotus.MoveFirst
rsLotus.Fields.Item(0)=one
I get the same error, I will really appreciate your help on this issue, I've been working on this for days.
Code:
<HTML>
<HEADER>
</HEADER>
<BODY>
<%
Dim LotusCn 'As ADODB.Connection
Dim rsLotus 'As ADODB.Recordset
Dim strSql 'As String
Set LotusCn = CreateObject("ADODB.Connection")
Set rsLotus = CreateObject("ADODB.Recordset")
LotusCn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\ot\Test.wk1;" & _
"Extended Properties=Lotus WK1;Persist Security Info=False"
strSql = "SELECT * FROM [a0..a418]"
rsLotus.Open strSql, LotusCn
for x=0 to 418
Response.Write(rsLotus.Fields.Item(0) & "
")
rsLotus.MoveNext
next
LotusCn.Close
Set rsLotus = Nothing
Set LotusCn = Nothing
%>
</BODY>
</HTML>
As you can see this is a ASP application, with this one I can read what is on the Lotus file, unfortunately, when I've tried to update the file it is impossible, I've tried this thinking that any field on the Lotus file can be modified, it sends me and error,
when I ask for rsLotus.AddNew, it tells me
ADODB.Recordset (0x800A0CB3)
Object or provider could not execute the required operation.
And if I try to assign a value to the recordset
rsLotus.MoveFirst
rsLotus.Fields.Item(0)=one
I get the same error, I will really appreciate your help on this issue, I've been working on this for days.