Help - VB5 / SQL 6.5 / Access 97 
Author Message
 Help - VB5 / SQL 6.5 / Access 97

I have a SQL Server 6.5 database that has been linked as tables into an
Access 97 MDB file.  The MDB file has additional tables that are specific
to the workstation.  From the VB 5 application i use the data control to
access the Linked table in the MDB file.

Whenever i perform a .Addnew or  .update i get a type mismatch error but
the
program functions without a problem even after the message.  

I have a piece of code that shows this : I have marked the error zones with
the >> mark.  I am trying to populate a network architechture as a tree
from a database.  It also occurs at regions after this wherever i use the
.Addnew... in the function.

But when i try to use the Access 97 form to enter sample data into the sql
database - i do not get these errors.

Thanks for the help

Madhu
PS: Please reply to both newsgroup and me. I work using a slow link

-----------------------------------------------------------
Public Sub AddServer(ServerType As String)

    Dim ServerName As String
    Dim ActiveSite

    ServerName = InputBox("Server Name", "Add Server")
    If Len(ServerName) > 0 Then

         With datTopology.Recordset  

Quote:
>>            .AddNew             ' error comes here

            !Name = ServerName
            !Type = ServerType
Quote:
>>            .Update             ' here
>>            .Bookmark = .LastModified   ' and here

       End With

    End If

End Sub
--------------------------------------------------------------------------



Mon, 13 Mar 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need help Access 97 vs SQL Server 6.5?

2. Access 97 and SQL Server 6.5

3. VB5 - Access 97 - SqlServer 6.5 - non-disappearing tmp file

4. Access 97 vs SQL Server 6.5

5. VB5/SQL 6.5 Data access problem

6. ACCESS 97 vs SQLSERVER 6.5

7. help w/ VB5 & sql 6.5 app

8. Access to SQL 6.5 HELP!

9. Help going from Access/Jet 3.5 to SQL 6.5

10. "Insert Into" SQL Server 6.5 from Access 97 using VB5?

11. "Insert Into" SQL Server 6.5 from Access 97 using VB5?

12. "Insert Into" SQL Server 6.5 from Access 97 using VB5?

 

 
Powered by phpBB® Forum Software