nswan
Jan 25th, 2004, 05:14 PM
Hi,
I really shouldn't be getting stuck on this as I've used it before and even helped someone on these forums before with a problem like this but i just can't sort it!
I am getting 'Operation must use an updateable query' error.
sSQLPageHit = "insert into tblHits([page], [referer]) VALUES('nick','bob')"
myConnection.Open()
Dim myCom As New OleDbCommand(sSQLPageHit, myConnection)
myCom.CommandType = CommandType.Text
myCom.ExecuteNonQuery()
myConnection.Close()
Please help i am pulling my hair out!!
Nick
I really shouldn't be getting stuck on this as I've used it before and even helped someone on these forums before with a problem like this but i just can't sort it!
I am getting 'Operation must use an updateable query' error.
sSQLPageHit = "insert into tblHits([page], [referer]) VALUES('nick','bob')"
myConnection.Open()
Dim myCom As New OleDbCommand(sSQLPageHit, myConnection)
myCom.CommandType = CommandType.Text
myCom.ExecuteNonQuery()
myConnection.Close()
Please help i am pulling my hair out!!
Nick