RE: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Alan Bourke
On Mon, Feb 13, 2012, at 08:56 PM, Ken Dibble wrote: You can't concatenate anything containing to a string in VFP. That surprised me, frankly, but you can't. It won't work; you'll get Command contains unrecognized phrase/keyword: Hey, I didn't know that. It's there in the help as well.

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ricardo Araoz
El 14/02/12 05:36, Alan Bourke escribió: On Mon, Feb 13, 2012, at 08:56 PM, Ken Dibble wrote: You can't concatenate anything containing to a string in VFP. That surprised me, frankly, but you can't. It won't work; you'll get Command contains unrecognized phrase/keyword: Hey, I didn't

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Grigore Dolghin
On Tue, Feb 14, 2012 at 3:56 AM, Ken Dibble krdib...@stny.rr.com wrote: Right, which in turn proves that if you use macro substitution to execute concatenated SQL statements in VFP, you cannot construct a statement that can damage your data. Which in turn supports my contention that one size

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Paul Hill
On Tue, Feb 14, 2012 at 1:56 AM, Ken Dibble krdib...@stny.rr.com wrote: You can't concatenate anything containing to a string in VFP. That surprised me, frankly, but you can't. It won't work; you'll get Command contains unrecognized phrase/keyword: myvar = Select * From Users where username

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Grigore Dolghin
Finally, someone that understands what the hell I'm talking about. On Tue, Feb 14, 2012 at 1:17 PM, Paul Hill paulroberth...@gmail.com wrote: On Tue, Feb 14, 2012 at 1:56 AM, Ken Dibble krdib...@stny.rr.com wrote: You can't concatenate anything containing to a string in VFP. That surprised

RE: Working with arrays

2012-02-14 Thread Dave Crozier
Joe, It's also worth while looking at collections if you are doing any large processing in VFP. Once you get your head around them they are much more efficient than arrays, especially if you need to do any repeated searches because in effect collections are/can be indexed by default. Dave

[OT] What will it take to make them toughen up on crime?

2012-02-14 Thread Pete Theisen
Hi Everybody, http://www.foxnews.com/politics/2012/02/13/justice-breyer-robbed-at-west-indies-vacation-home/?intcmp=trending -- Regards, Pete http://pete-theisen.com/ http://elect-pete-theisen.com/ ___ Post Messages to: ProFox@leafe.com Subscription

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ted Roche
Well, you can't append two ampersands in a row in a single string: Fred = Fred + because the parser thinks you're starting a comment. But I think you can append them serially, though: Fred = Fred + + On Tue, Feb 14, 2012 at 3:36 AM, Alan Bourke alanpbou...@fastmail.fm wrote: On Mon, Feb

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Man-wai Chang
Being bad isn't a bad thing, as long as you are rich and doesn't need to work OT! What's the point being a poor, dead, but good programmer? :) On Sat, Feb 11, 2012 at 1:04 AM, Stephen Russell srussell...@gmail.com wrote: http://www.yacoset.com/Home/signs-that-you-re-a-bad-programmer/ --  .~.

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Stephen Russell
On Tue, Feb 14, 2012 at 8:05 AM, Pete Theisen petethei...@verizon.net wrote: Hi Everybody, Can he win now after writing off 40 million votes? http://www.humanevents.com/article.php?id=49504 The new mandate will require employers to offer emergency contraception drugs with no copayment,

RE: [OT] Bammer loses observant Catholics

2012-02-14 Thread john harvey
I believe Obama's healthcare is the masterplan to take control of all healthcare. It will become so expensive, due to obamacare, that you will have to self medicate or go with his plan. Hitler, Jr. -Original Message- From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Stephen Russell
On Tue, Feb 14, 2012 at 9:44 AM, john harvey john.har...@shelbynet.com wrote: I believe Obama's healthcare is the masterplan to take control of all healthcare. It will become so expensive, due to obamacare, that you will have to self medicate or go with his plan. Hitler, Jr. What

Re: SQL Server varchar(max) problem - solved with VFP change

2012-02-14 Thread Peter Cushing
Dave Crozier wrote: snip Thanks once again for the support whilst trying to solve the problem. Now I think I need a few beers! Dave Glad you got it fixed, but don't have too many beers tonight Dave. It's valentine's night ;-) Cheers, Peter

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Dan Covill
On 02/14/12 06:05, Pete Theisen wrote: Can he win now after writing off 40 million votes? There may be 40 million Catholics, but your subject said observant Catholics. 80% of American Catholics neither follow nor care what the hierarchy says about birth control. OK, he won't get the bishops'

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Ken Kixmoeller (ProFox)
On Tue, Feb 14, 2012 at 11:49 AM, Dan Covill dcov...@san.rr.com wrote: On 02/14/12 06:05, Pete Theisen wrote: Can he win now after writing off 40 million votes? There may be 40 million Catholics, but your subject said observant Catholics.  80% of American Catholics neither follow nor care

RE: Why does VFP freeze like this?

2012-02-14 Thread Tracy Pearson
MB Software Solutions, LLC wrote on 2012-02-14: VFP9SP2 I've got 2 instances of VFP running. In Instance 1, I'm running heavy duty processing that will take hours to run. In Instance 2, I'm trying to code new programs, but many times--especially when I select text and then go to

Re: Why does VFP freeze like this?

2012-02-14 Thread MB Software Solutions, LLC
On 2/14/2012 1:24 PM, Tracy Pearson wrote: Are you sure the copy/paste problem is only happening the second instance of VFP and not also in something like Notepad or a word processor? And of course now I can't seem to get it to reproduce. g -- Mike Babcock, MCP MB Software Solutions, LLC

Re: Why does VFP freeze like this?

2012-02-14 Thread Allen
Maybe the problem has reproduced off :) Al -Original Message- From: MB Software Solutions,LLC And of course now I can't seem to get it to reproduce. g ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Michael Madigan
Obongo just angered 25% of the voting electorate.    - Original Message - From: Stephen Russell srussell...@gmail.com To: ProFox Email List profox@leafe.com Cc: Sent: Tuesday, February 14, 2012 10:39 AM Subject: Re: [OT] Bammer loses observant Catholics On Tue, Feb 14, 2012 at 8:05 AM,

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Michael Madigan
This is a big deal.  There are many Catholics who don't attend mass and don't follow the church's teaching on birth control, but they still don't want the Government bossing their church around.  - Original Message - From: Dan Covill dcov...@san.rr.com To: ProFox Email List

Re: [OT] Joke

2012-02-14 Thread Michael Madigan
Goon one! - Original Message - From: Stephen Russell srussell...@gmail.com To: ProFox Email List profox@leafe.com Cc: Sent: Tuesday, February 14, 2012 1:25 PM Subject: [OT] Joke A young woman was taking an afternoon nap. After she woke up, she told her husband, I just dreamed that you

Re: Why does VFP freeze like this?

2012-02-14 Thread Eurico Chagas Filho
take hours to finish... It happened to me, but it didn't freeze it just lost the ability to use ctrl+C and ctrl+V. I used to close and open again and the problem would go away. E. From: MB Software Solutions, LLC mbsoftwaresoluti...@mbsoftwaresolutions.com

Re: [OT] Joke

2012-02-14 Thread Eurico Chagas Filho
Good. From: Stephen Russell srussell...@gmail.com To: ProFox Email List profox@leafe.com Sent: Tuesday, February 14, 2012 4:25 PM Subject: [OT] Joke A young woman was taking an afternoon nap. After she woke up, she told her husband, I just dreamed that you

Re: Why does VFP freeze like this?

2012-02-14 Thread MB Software Solutions, LLC
On 2/14/2012 2:18 PM, Eurico Chagas Filho wrote: take hours to finish... It happened to me, but it didn't freeze it just lost the ability to use ctrl+C and ctrl+V. I used to close and open again and the problem would go away. Hi Eurico, Glad someone else can relate! (...but who really

RE: Why does VFP freeze like this?

2012-02-14 Thread Tracy Pearson
MB Software Solutions, LLC wrote on 2012-02-14: On 2/14/2012 1:24 PM, Tracy Pearson wrote: Are you sure the copy/paste problem is only happening the second instance of VFP and not also in something like Notepad or a word processor? And of course now I can't seem to get it to

Re: [OT] Bammer loses observant Catholics

2012-02-14 Thread Stephen Russell
On Tue, Feb 14, 2012 at 1:11 PM, Michael Madigan mmadi10...@yahoo.com wrote: This is a big deal.  There are many Catholics who don't attend mass and don't follow the church's teaching on birth control, but they still don't want the Government bossing their church around.

[NF] Think that Apple shareholders are happy?

2012-02-14 Thread Ed Leafe
I'm feeling pretty good right about now. ;-) http://go.bloomberg.com/tech-blog/2012-02-14-think-apples-shareholders-are-happy-take-a-look-at-rackspace/ ( -or- http://j.mp/wQqdVJ ) -- Ed Leafe ___ Post Messages to: ProFox@leafe.com

Re: [NF] Think that Apple shareholders are happy?

2012-02-14 Thread Alan Bourke
I *thought* that video you posted the other day looked like a shopping mall! -- Alan Bourke alanpbourke (at) fastmail (dot) fm ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free

Re: Why does VFP freeze like this?

2012-02-14 Thread Michael Madigan
I've kind of seen this with other programs too, so I'm not sure it's a VFP problem exclusively - Original Message - From: Tracy Pearson tr...@powerchurch.com To: profox@leafe.com Cc: Sent: Tuesday, February 14, 2012 2:59 PM Subject: RE: Why does VFP freeze like this? MB Software

Re: [NF] Think that Apple shareholders are happy?

2012-02-14 Thread Ed Leafe
On Feb 14, 2012, at 2:58 PM, Alan Bourke wrote: I *thought* that video you posted the other day looked like a shopping mall! Yup - instead of building a sparkling new campus, we bought an abandoned mall in a part of San Antonio that was economically depressed and have been building

Re: [NF] Think that Apple shareholders are happy?

2012-02-14 Thread Michael Madigan
If you invested 100,000 in Feb 2009, you'd be a millionaire.    First I gotta get 100,000.   - Original Message - From: Ed Leafe e...@leafe.com To: ProFox Mailing List profox@leafe.com Cc: Sent: Tuesday, February 14, 2012 3:42 PM Subject: [NF] Think that Apple shareholders are happy?

Re: VFP Pos printing

2012-02-14 Thread Grigore Dolghin
Is that printer online? On Wed, Feb 15, 2012 at 1:48 AM, Sytze de Boer sytze.k...@gmail.com wrote: There's something wrong with me today, forgive me In my system, all reports come out of the default printer But I want the Point of Sale docket to come out of specific printer So.. I

Re: VFP Pos printing

2012-02-14 Thread Sytze de Boer
Yup On Wed, Feb 15, 2012 at 2:05 PM, Grigore Dolghin gdolg...@gmail.com wrote: Is that printer online? On Wed, Feb 15, 2012 at 1:48 AM, Sytze de Boer sytze.k...@gmail.com wrote: There's something wrong with me today, forgive me In my system, all reports come out of the default

Re: VFP Pos printing

2012-02-14 Thread Grigore Dolghin
On a new report (or an existing report) you can modify the printer? On Wed, Feb 15, 2012 at 3:06 AM, Sytze de Boer sytze.k...@gmail.com wrote: Yup On Wed, Feb 15, 2012 at 2:05 PM, Grigore Dolghin gdolg...@gmail.com wrote: Is that printer online? On Wed, Feb 15, 2012 at 1:48 AM, Sytze

Re: VFP Pos printing

2012-02-14 Thread Sytze de Boer
No Not on an existing, nor a brand new report On Wed, Feb 15, 2012 at 2:09 PM, Grigore Dolghin gdolg...@gmail.com wrote: On a new report (or an existing report) you can modify the printer? On Wed, Feb 15, 2012 at 3:06 AM, Sytze de Boer sytze.k...@gmail.com wrote: Yup On Wed, Feb

Re: VFP Pos printing

2012-02-14 Thread Grigore Dolghin
If you start VFP with vfp.exe /A, does the situation improves? You can change the printer from any other application, let's say Word? On Wed, Feb 15, 2012 at 3:15 AM, Sytze de Boer sytze.k...@gmail.com wrote: No Not on an existing, nor a brand new report On Wed, Feb 15, 2012 at 2:09 PM,

Re: [NF] Think that Apple shareholders are happy?

2012-02-14 Thread Stephen Russell
I am looking at buying 50 within a week after that burst last week. Sent from my iPhone Stephen Russell 901.246-0159 On Feb 14, 2012, at 6:37 PM, Michael Madigan mmadi10...@yahoo.com wrote: If you invested 100,000 in Feb 2009, you'd be a millionaire.First I gotta get 100,000.

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ken Dibble
Right, which in turn proves that if you use macro substitution to execute concatenated SQL statements in VFP, you cannot construct a statement that can damage your data. Which in turn supports my contention that one size does not fit all when it comes to effective secure code--a

Re: VFP Pos printing

2012-02-14 Thread Sytze de Boer
I suspect I've not been clear I modi report myreport Now I click File, Page Setup, Page setup I want this report to come out on a specified printer and Save printer environment I am unable to specify a printer I've logged into another clients server and when I modi report anyreport I click File,

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ken Dibble
On Tue, Feb 14, 2012 at 1:56 AM, Ken Dibble krdib...@stny.rr.com wrote: You can't concatenate anything containing to a string in VFP. That surprised me, frankly, but you can't. It won't work; you'll get Command contains unrecognized phrase/keyword: myvar = Select * From Users where

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ken Dibble
Well, you can't append two ampersands in a row in a single string: Fred = Fred + because the parser thinks you're starting a comment. But I think you can append them serially, though: Fred = Fred + + Yup, you can. But you only get one bite at the apple when entering something into a login

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Grigore Dolghin
I am sorry, you have no idea what you're talking about. I don't know how you're doing your tests, but in last 10 minutes I have created an example which can be downloaded from here: www.class-software.eu/sqlparameters.zip Username: admin Password: adminpass The program will show how many

Re: VFP Pos printing

2012-02-14 Thread Grigore Dolghin
I believe you were clear. I am suspecting writing rights access there. If you can change the printer from any other application but not from VFP, maybe the report is readonly? On Wed, Feb 15, 2012 at 3:34 AM, Sytze de Boer sytze.k...@gmail.com wrote: I suspect I've not been clear I modi

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Andrew Stirling
Thanks Grigore I have a better understanding of it now. Kind regards Andrew Stirling 01250 874580 supp...@calcpay.co.uk http://www.calcpay.co.uk HMRC Accredited UK payroll program On 15/02/2012 01:45, Grigore Dolghin wrote: I am sorry, you have no idea what you're talking about. I don't know

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ken Dibble
I am sorry, you have no idea what you're talking about. I don't know how you're doing your tests, but in last 10 minutes I have created an example which can be downloaded from here: www.class-software.eu/sqlparameters.zip Username: admin Password: adminpass The program will show how many

Re: [NF] Very strong set of issues in Are You a Bad Programmer.

2012-02-14 Thread Ken Dibble
You can't concatenate anything containing to a string in VFP. That surprised me, frankly, but you can't. It won't work; you'll get Command contains unrecognized phrase/keyword: Hey, I didn't know that. It's there in the help as well. what about using chr(whatever)? Yes, that works

Re: [OT] Real respect

2012-02-14 Thread Michael Madigan
A-hole Chris Christie has the flags at half-staff today.    I wonder if every soldier who dies from NJ gets the same benefit? - Original Message - From: Stephen Russell srussell...@gmail.com To: ProFox Email List profox@leafe.com Cc: Sent: Tuesday, February 14, 2012 12:21 PM Subject: