Yeah should work. :)
On Jun 19, 2014 10:50 AM, "will@... [vantage]" <vantage@yahoogroups.com> wrote:
Â<div> <p><font face="Times New Roman" size="3">
I think I have it, it is at least working but would appreciate a quick
review that it is correct. I may have a
slight typo or spelling error but is this approach correct?Â
Ice.Tables.UD01 UD01;
Â
var ttUD02_Row = ttUD02.FirstOrDefault(r =>
r.Added());Â
int calcNum;
Â
foreach (var UD01_iterator in (from UD01_row in Db.UD01
                               where
UD01_row.Character01 == ttUD02_Row.Character01Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â select
UD01_row)){
   UD01 =
UD01_iterator;Â
   if (ttUD02_Row
!=null)Â Â Â {Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
               calcNum
=(int)UD01["Number01"]*2;Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ttUD02_Row.Number01= calcNum.ToString();
              UD01["Number02"] = calcNum.ToString();
              Â
UD01["Character02"] = "UD02";Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Db.SaveChanges();Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
   }                       Â
}
Â
Â
Thank you
</div> <div style="color:#fff;min-height:0;"></div>