maico Member M Join Date Jun 2012 Location Belfast Posts 27 Apr 11, 2017 #1 Hi All, I want to take values from a DB say four separate values of db100.dbw10 + db100.dbw12 + db100.dbw14 + db100.dbw16 and add them together so as I have one combined value, what would this look like? Thx
Hi All, I want to take values from a DB say four separate values of db100.dbw10 + db100.dbw12 + db100.dbw14 + db100.dbw16 and add them together so as I have one combined value, what would this look like? Thx
Bratt Lifetime Supporting Member B Join Date Nov 2003 Location West Sweden Posts 726 Apr 12, 2017 #2 Code: L DB100.DBW 10 L DB100.DBW 12 +I L DB100.DBW 14 +I L DB100.DBW 16 +I T Result Works if result value don't exceed the max value of an integer 32767 if above 32767 then you need to do double integer math Last edited: Apr 12, 2017
Code: L DB100.DBW 10 L DB100.DBW 12 +I L DB100.DBW 14 +I L DB100.DBW 16 +I T Result Works if result value don't exceed the max value of an integer 32767 if above 32767 then you need to do double integer math
Bratt Lifetime Supporting Member B Join Date Nov 2003 Location West Sweden Posts 726 Apr 12, 2017 #3 Code: L DB100.DBW 10 ITD L DB100.DBW 12 ITD +D L DB100.DBW 14 ITD +D L DB100.DBW 16 ITD +D t Result // Result must be a double integer
Code: L DB100.DBW 10 ITD L DB100.DBW 12 ITD +D L DB100.DBW 14 ITD +D L DB100.DBW 16 ITD +D t Result // Result must be a double integer