peskywinnets
Registered User.
- Local time
- Today, 03:30
- Joined
- Feb 4, 2014
- Messages
- 578
So I'm trying to do this....
when I come to do this a bit later in my code...
run time error 3027
Cannot update: database is read only
How do I work around this (the few solutions I read via Google left me glazed!).
Code:
Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim PresentShippingAddress1 As String
Dim PreviousShippingAddress1 As String
strSELECT = "SELECT DISTINCT EbayOrders.Processed, EbayOrders.OurRef, EbayOrders.ShippingAddress1,EbayOrders.HasOtherOrders "
strFROM = "FROM EbayOrders"
strWHERE = " WHERE (EbayOrders.Processed=No) AND ((EbayOrders.OrderStatus=""paid"") Or (EbayOrders.OrderStatus=""shipped""))"
strOrderBy = "Order by EbayOrders.ShippingAddress1;"
strSql = strSELECT & strFROM & strWHERE & strOrderBy
Set db = CurrentDb()
Set rst = db.OpenRecordset(strSql, dbOpenDynaset)
when I come to do this a bit later in my code...
Code:
rst!Edit
run time error 3027
Cannot update: database is read only
How do I work around this (the few solutions I read via Google left me glazed!).