Re: Help with update

2015-01-10 Thread Man-wai Chang
Some comments for those old codes: 1. There is no need to go top when doing a SCAN, unless you are trying to SCAN WHILE. 2. There is no need to sele tsheets before ENDSCAN as SCAN remembers the table alias. 3. A IF FOUND() should follow SEEK/LOCATE On Sat, Jan 10, 2015 at 5:43 AM, Sytze de

Re: Help with update

2015-01-10 Thread Jean Laeremans
IF SEEK() On 10 Jan 2015 10:09, Man-wai Chang chan...@gmail.com wrote: Some comments for those old codes: 1. There is no need to go top when doing a SCAN, unless you are trying to SCAN WHILE. 2. There is no need to sele tsheets before ENDSCAN as SCAN remembers the table alias. 3. A IF

Re: Help with update

2015-01-09 Thread AndyHC
N.B Untested: UPDATE stocks SET timesheets = (select sum(qty) from tsheets WHERE stocks.stCode = tsheetsum.stCode) * if there is only one timesheet per stcode you could omit the sum() - which would avoid using a correlated subquery iirc

Help with update

2015-01-09 Thread Sytze de Boer
Friends I know this code stinks and I'm sure there's a much better way with UPDATE, but I can't figure it out. sele stocks repla all timesheets with 0 sele tsheets go top scan sele stocks seek tsheets.stcode replace timesheets with timesheets+tsheets.qty sele tsheets endscan Can

RE: Help with update

2015-01-09 Thread Darren
...@leafe.com Subject: Help with update Friends I know this code stinks and I'm sure there's a much better way with UPDATE, but I can't figure it out. sele stocks repla all timesheets with 0 sele tsheets go top scan sele stocks seek tsheets.stcode replace timesheets with timesheets+tsheets.qty

RE: Help with update

2015-01-09 Thread Tracy Pearson
January 2015 8:43 AM To: profoxt...@leafe.com Subject: Help with update Friends I know this code stinks and I'm sure there's a much better way with UPDATE, but I can't figure it out. sele stocks repla all timesheets with 0 sele tsheets go top scan sele stocks

Re: Help with update

2015-01-09 Thread Sytze de Boer
Subject: Help with update Friends I know this code stinks and I'm sure there's a much better way with UPDATE, but I can't figure it out. sele stocks repla all timesheets with 0 sele tsheets go top scan sele stocks seek tsheets.stcode replace

Re: Help with update

2015-01-09 Thread Sytze de Boer
UPDATE stocks SET timesheets = tsheets.qty FROM tsheets WHERE stocks.stCode = tsheets.stCode -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Sytze de Boer Sent: Saturday, 10 January 2015 8:43 AM To: profoxt...@leafe.com Subject: Help

RE: Help with update

2015-01-09 Thread Darren
Tracey you are correct - I was assuming only one. -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Tracy Pearson Sent: Saturday, 10 January 2015 9:14 AM To: profoxt...@leafe.com Subject: RE: Help with update Darren wrote on 2015-01-09: UPDATE

RE: Help with update

2015-01-09 Thread Tracy Pearson
Sytze de Boer wrote on 2015-01-09: Actually, as you can see, there are 3 steps to my solution, which I suspect is not necessary, but I haven't yet found a way to set on_order to zero if there's (now) nothing in winsords On Sat, Jan 10, 2015 at 11:26 AM, Sytze de Boer

[NF] HELP! Windows Update broke IE

2007-08-15 Thread Kristyne McDaniel
My browser is unable to connect to the internet after an update via Windows update last night. My recollection is that I should have been able to back out the update, but I don't see that option anymore. Can anyone tell me how to back out or repair the update from last night? I only have one

RE: [NF] HELP! Windows Update broke IE

2007-08-15 Thread Jeff Johnson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristyne McDaniel Sent: Wednesday, August 15, 2007 12:00 PM To: [EMAIL PROTECTED] Subject: [NF] HELP! Windows Update broke IE My browser is unable to connect to the internet after an update via

RE: [NF] HELP! Windows Update broke IE

2007-08-15 Thread Jeff Johnson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristyne McDaniel Sent: Wednesday, August 15, 2007 12:38 PM To: [EMAIL PROTECTED] Subject: RE: [NF] HELP! Windows Update broke IE Jeff, Kristyne: I noticed that after the update Zone Alarm

RE: [NF] HELP! Windows Update broke IE

2007-08-15 Thread Kristyne McDaniel
Jeff, Kristyne: I noticed that after the update Zone Alarm was telling me that IE was trying to access the Internet. It also told me that it was suspicious because it could be tracking keystrokes or sending information over the Internet. You might want to look into your firewall.

RE: [NF] HELP! Windows Update broke IE

2007-08-15 Thread Kristyne McDaniel
Jeff, I am by no means bashing IE, but I only use it for two things. That is accessing customer Intranets and Remote Desktop. I use Firefox by default because of this sort of thing. I originally went with Firefox because IE would not let me receive an office 2007 document from a