G
Guest
I'm trying to update values in a "parent" table when the status of a "child"
changes. The data is version number strings - "1.0, 1.5.2, 11.2.13" etc. The
field definitions are identical in both tables.
The update query is formed dynamically by reading values from a recordset.
The individual queries in a sample case and the resulting update in the
target table are:
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.0 WHERE
tblAppSubSystems.appSubSysID = 10 ---- WRITTEN AS "1"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.5.2 WHERE
tblAppSubSystems.appSubSysID = 15 ---- WRITTEN WRONG AS "0"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.1.2 WHERE
tblAppSubSystems.appSubSysID = 16 ----WRITTEN WRONG AS "0"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.2 WHERE
tblAppSubSystems.appSubSysID = 18 ---- WRITTEN CORRECT AS "1.2"
changes. The data is version number strings - "1.0, 1.5.2, 11.2.13" etc. The
field definitions are identical in both tables.
The update query is formed dynamically by reading values from a recordset.
The individual queries in a sample case and the resulting update in the
target table are:
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.0 WHERE
tblAppSubSystems.appSubSysID = 10 ---- WRITTEN AS "1"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.5.2 WHERE
tblAppSubSystems.appSubSysID = 15 ---- WRITTEN WRONG AS "0"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.1.2 WHERE
tblAppSubSystems.appSubSysID = 16 ----WRITTEN WRONG AS "0"
UPDATE tblAppSubSystems SET tblAppSubSystems.appSubSysVer = 1.2 WHERE
tblAppSubSystems.appSubSysID = 18 ---- WRITTEN CORRECT AS "1.2"