Good morning,
I am a beginner in Access and I've built a database for the indexation of commercial prices. In this database I use an update query in which a calculated field ‘calc’ is updated to another field ‘tarief’. This calculated field ‘calc’ is a multiplication of the field ‘tarief’ with another field. The query below works perfectly when I use a local table. However, when I use a linked table in SharePoint, the update query does not always work and the ‘tarief’ remains the same.
strSql_Update = "UPDATE [TB_Tarieven] INNER JOIN QR_Tarieven_Indexatie ON ([TB_Tarieven].OmschrijvingID = QR_Tarieven_Indexatie.OmschrijvingID)" AND ([TB_Tarieven].AccountID = QR_Tarieven_Indexatie.AccountID) SET [TB_Tarieven].[Tarief] = [QR_Tarieven_Indexatie].Calc WHERE ((([TB_Tarieven].AccountID)=" & Me.Klant_Combo & ") And (([TB_Tarieven].PeriodeId)=" & Me.From_Periode_Combo & "));"
I've already unchecked the 'Caching Web Service and SharePoint tables' box, but this didn't work.
Could someone please help me?
Thank you!
Ivar
I am a beginner in Access and I've built a database for the indexation of commercial prices. In this database I use an update query in which a calculated field ‘calc’ is updated to another field ‘tarief’. This calculated field ‘calc’ is a multiplication of the field ‘tarief’ with another field. The query below works perfectly when I use a local table. However, when I use a linked table in SharePoint, the update query does not always work and the ‘tarief’ remains the same.
strSql_Update = "UPDATE [TB_Tarieven] INNER JOIN QR_Tarieven_Indexatie ON ([TB_Tarieven].OmschrijvingID = QR_Tarieven_Indexatie.OmschrijvingID)" AND ([TB_Tarieven].AccountID = QR_Tarieven_Indexatie.AccountID) SET [TB_Tarieven].[Tarief] = [QR_Tarieven_Indexatie].Calc WHERE ((([TB_Tarieven].AccountID)=" & Me.Klant_Combo & ") And (([TB_Tarieven].PeriodeId)=" & Me.From_Periode_Combo & "));"
I've already unchecked the 'Caching Web Service and SharePoint tables' box, but this didn't work.
Could someone please help me?
Thank you!
Ivar