Faking it - ControlSource

2007-06-07 Thread Paul Newton
Hi all I have a grid and in one column I need to put a control which does not have a native controlsource property. The column needs to have have sparse set to .F. and each row in this column should have a display/value dictated by a value from a table whci is the recordsource for the grid.

RE: Faking it - ControlSource

2007-06-07 Thread Dave Crozier
Paul, You can set the recordsource up to be =User_Defined_Function(vParameter) And in the UDF you can retrieve and return any value you need. In your case you could pass the Grid recordsource for the grid I guess. Is this what you mean? Dave Crozier And in the Function -Original

Re: Faking it - ControlSource

2007-06-07 Thread Paul Newton
Dave No I don't think so. Let me explain Table (mytable) with one field (myfield) with three records (having values value1, value2 and value3) Grid has recordsource set to mytable), recordsource type is alias. Grid has one column and I want the grid to display three rows, each with the

RE: Faking it - ControlSource

2007-06-07 Thread Michael Hawksworth
Paul As the grids control source for a column is set at column level I don't see what you are going to achieve? If you are using vfp9 (and maybe 8?) you can replace the member class with your own or you can just code replacements in for the textboxes (From the help section grids, displaying

Re: Faking it - ControlSource

2007-06-07 Thread Paul Newton
Michael I tried removing the default textbox in the column and replacing it with a label. Then setting the controlsource for the column and setting sparse = .F. did not seem to achieve what I wanted. However I have just come across something that Craig (SPS) wrote (I9th Aug 2005) and which

Re: VFP9 report question -- designing for windowed envelopes

2007-06-07 Thread Richard Kaye
First thought. Use a print when condition in your header objects of _pageno=1. Set remove line if blank. MB Software Solutions wrote: But Page Header would appear on every page, and I'd only need that stuff on the lead (1st) page. Thanks for the affirmation, Vince! --Michael --

Re: [OT] Cingular bought out by ATT

2007-06-07 Thread Kenneth Kixmoeller/fh
Hey - - In fact, it was the other way around. ATT wireless was acquired by Cingular. Afterward, they chose to take the ATT name, I suspect because it is better known, but, as your post indicates, the new-old name carries quite a lot of baggage.

RE: Faking it - ControlSource

2007-06-07 Thread Dave Crozier
Raig, I think this is what you want Sorry about the wordwrap if it happens Dave Crozier * Start Code * oForm=CreateObject(clsForm) oForm.Visible=.T. Read events * Return Define class clsForm as Form Procedure Load() Create Cursor curTest (PK I, ID C(10)) Insert

RE: Faking it - ControlSource

2007-06-07 Thread Dave Crozier
Paul, If you want to be able to edit the grid on the fly and see changes in the container label then 1. Change the Columcount=2 to Columncount=3 in the Omot of the form 2. Change the Columcount=1 to Columncount=2 in the Class Definition of the Grid Dave Crozier -Original Message- From:

[NF] The end of the world???

2007-06-07 Thread Dave Crozier
Just thought I'd inject a bit of humour onto the list. The end of the word scenario - and NOT politically correct! http://www.albinoblacksheep.com/flash/end.php (Funny) Dave Crozier No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database:

[NF] Excel protection question

2007-06-07 Thread MB Software Solutions
I created an Excel output from VFP using the COPY TO ... TYPE XL5 command. I'd like the user to be able to enter data in a single column (let's say Column E) but have every other column protected so that the user can't change that data, nor allow the user to add/remove rows. Is this possible

Re: [NF] Excel protection question

2007-06-07 Thread Ted Roche
On 6/7/07, MB Software Solutions [EMAIL PROTECTED] wrote: Is this possible to achieve (and all programatically from VFP)? Yup. Got a copy of Office Automation from Hentzenwerke? pp 203-204. Don't have it? You can download the PDF in seconds -- order from www.hentzenwerke.com -- Ted Roche Ted

Re: [NF] Excel protection question

2007-06-07 Thread MB Software Solutions
Ted Roche wrote: On 6/7/07, MB Software Solutions [EMAIL PROTECTED] wrote: Is this possible to achieve (and all programatically from VFP)? Yup. Got a copy of Office Automation from Hentzenwerke? pp 203-204. Don't have it? You can download the PDF in seconds -- order from

Printing on envelopes from VFP app

2007-06-07 Thread MB Software Solutions
My client insists that rather than printing in the spaces for a windowed envelope, they want me to print directly onto a (windowlessl, conventional) envelope. Is this best handled via Word automation or would you suggest doing it in VFP instead? Sounds easiest to devise a VFP Label Report

Re: [NF] The end of the world???

2007-06-07 Thread Peter Cushing
Dave Crozier wrote: Just thought I'd inject a bit of humour onto the list. The end of the word scenario - and NOT politically correct! http://www.albinoblacksheep.com/flash/end.php (Funny) http://tevp.net/quotes/list.php?category=3 War is God's way of teaching geography to Americans -

RE: [NF] Excel protection question

2007-06-07 Thread Dave Crozier
Michael, This creates a readwrite column and a readonly column Dave Crozier oExcel=Createobject(Excel.Application) With oExcel .Visible=.T. .Workbooks.Add() oSheet=.ActiveSheet With oSheet .Range(A1:A2).Select

Re: Printing on envelopes from VFP app

2007-06-07 Thread Mark Stanton
In article [EMAIL PROTECTED], MB Software Solutions wrote: Sounds easiest to devise a VFP Label Report and do that but thought I'd poll the list. That's certainly what I've done. Very easy, not hard at all. Mark Stanton One small step for mankind...

RE: Printing on envelopes from VFP app

2007-06-07 Thread Dave Crozier
Michael, Depends on whether you have a good feeder for the envelopes on the printer. We have a large HP office laser and it prints from VFP no problem. However for smaller sites I must admit I've used the VFP label printing as a standard. The number of times the customers feed the envelopes into

Re: Faking it - ControlSource

2007-06-07 Thread Paul Newton
Dave Many thanks for your replies - I have been out for a couple of hours. Your solution is great and in essence identical to what I found on Craig's website. The key of course is the use of the backstyle_access method. I have replaced the container label with a container hyperlink label

Re: [NF] The end of the world???

2007-06-07 Thread Paul Newton
Very good, Dave but I didn't see the fox, only a kangaroo G Dave Crozier wrote: Just thought I'd inject a bit of humour onto the list. The end of the word scenario - and NOT politically correct! http://www.albinoblacksheep.com/flash/end.php (Funny) Dave Crozier No virus found in this

Re: [OT]Teen Found Dead

2007-06-07 Thread Derek Kalweit
If she had had a gun she would have had a fighting chance. I blame the liberal Ds for her death. Pete, that's as intellectually lazy as proponents of gun control that blame the physical guns for the deaths. The blame for her death clearly lies solely on the perpetrator of the crime. -- Derek

Re: [OT]Teen Found Dead

2007-06-07 Thread Pete Theisen
On Thursday 07 June 2007 10:37, Derek Kalweit wrote: If she had had a gun she would have had a fighting chance. I blame the liberal Ds for her death. Pete, that's as intellectually lazy as proponents of gun control that blame the physical guns for the deaths. The blame for her death

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Derek Kalweit
That really isn't the problem at all. The old code works, but could you change a looping scan to a LINQ statement? The bar is getting raised all the time and it's hard to stay with it. Why does the saying if it ain't broke, ... come to mind? Sure, I could rip all the walls off of my

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Derek Kalweit
Is that comment coming from a php flip boy? That's a new title. I've been called worse. Microsoft set Windows development back ten years with DotNet. I had to do something while I was waiting for the dust to clear. I've been having a blast. I like Python more than PHP, but PHP is paying

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Ed Leafe
On Jun 7, 2007, at 12:18 PM, Derek Kalweit wrote: Just because something isn't broken, doesn't mean it can't be done better. Innovation in technology shouldn't be held back by 'if it ain't broke' mentality-- 'if it ain't broke' mentality is more an argument for business ROI evaluations.

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Derek Kalweit
I'll bet that whatever money was spent on it, they could have saved money having it written in VFP (assuming it could have been) since it required much much more development time to do something in DotNot 1.0 that you could have done much much easier in VFP. g Who says it would take more

RE: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread David Crooks
On Wednesday, June 06, 2007 10:19 PM Ted Roche wrote: snipped Microsoft set Windows development back ten years with DotNet. I had to do something while I was waiting for the dust to clear. I've been having a blast. I like Python more than PHP, but PHP is. paying the bills right now. I don't

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Derek Kalweit
Just because something isn't broken, doesn't mean it can't be done better. Innovation in technology shouldn't be held back by 'if it ain't broke' mentality-- 'if it ain't broke' mentality is more an argument for business ROI evaluations. Isn't that exactly what is being

Highlighting fields in VFP9 report

2007-06-07 Thread Garrett Fitzgerald
I just wanted to do a quick sanity check, since I haven't done too much production work with the new Report Writer. I created a ReportListener that would highlight certain fields, and then I subclassed it for the particular report I'm working with at the moment. I tagged the blood pressure fields

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Bill Anderson
MB Software Solutions wrote: One of the all-time great quotes from a MSFT marketer at LA Fox re: .NET 1.0 -- Companies are throwing out their mission critical applications sight unseen to rewrite them in the beta version of .NET [1.0]. That's absolutely absurd! Talk about fools

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Ted Roche
On 6/7/07, Derek Kalweit [EMAIL PROTECTED] wrote: Microsoft set Windows development back ten years with DotNet. Please, Ted-- tell us what Windows development SHOULD be right now. How did Dotnet set it 'back'? Derek: You really do need a good answer to this question, but I'm under deadline

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread MB Software Solutions
David Crooks wrote: snipped Microsoft set Windows development back ten years with DotNet. I had to do something while I was waiting for the dust to clear. I've been having a blast. I like Python more than PHP, but PHP is. paying the bills right now. I don't agree that .NET

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread MB Software Solutions
Bill Anderson wrote: snipped MSFT didn't lie per se, but to intentionally deceive -- (another quote from the same individual) -- That's just business. I thought that's the definition of marketing. What's that line---lies, lies, and damned lies. g -- Michael J. Babcock, MCP MB

RE: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread David Crooks
On Thursday, June 07, 2007 3:31 PM Michael wrote: He was trying to stir up the dust, he said. g Got it. He needs a dust pan. :-) I can't wait until PHP is a legacy language... David L. Crooks ___ Post Messages to: ProFox@leafe.com Subscription

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread MB Software Solutions
Ted Roche wrote: Have you looked at .NET? Nearly five years ago, a few of us hung out in Redmond and discussed it in some depth: http://www.tedroche.com/images/RedmondJuly2002.jpg on the overhead: Visual Basic Strategic Design Review ?!?? huh? -- Michael J. Babcock, MCP

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread MB Software Solutions
David Crooks wrote: On Thursday, June 07, 2007 3:31 PM Michael wrote: He was trying to stir up the dust, he said. g Got it. He needs a dust pan. :-) I can't wait until PHP is a legacy language... But sometimes that's in vogue: look at AJAX! I thought legacy code was

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Ted Roche
On 6/7/07, MB Software Solutions [EMAIL PROTECTED] wrote: on the overhead: Visual Basic Strategic Design Review ?!?? huh? Wonder what that's about? I can neither confirm not deny that I may or maybe not be, or may have been at the time, under an NDA. I just helped set up the picture g.

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Ted Roche
On 6/7/07, David Crooks [EMAIL PROTECTED] wrote: I can't wait until PHP is a legacy language... Maybe the PHP Corporation will declare that they're no longer going to support it. -- Ted Roche Ted Roche Associates, LLC http://www.tedroche.com ___

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Derek Kalweit
You really do need a good answer to this question, but I'm under deadline on a couple of projects, and might not get back to this right away, but here's a nutshell answer you can take potshots at: Thanks for responding. Windows development should have plowed ahead with VB 7, 8, and 9.

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Vince Teachout
Ted Roche wrote: It was enormous gaul on the part of MS to cut off the majority of its (customer's) toolkit I'm not really following this thread at all, I was just surprised to see Julius Caesar working for Microsoft. :-P Ok why I don't just go sit in the corner and just shut the hell

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Richard Kaye
I wanted to say something, Vince. So good of you to step in vbg Vince Teachout wrote: Ted Roche wrote: It was enormous gaul on the part of MS to cut off the majority of its (customer's) toolkit I'm not really following this thread at all, I was just surprised to see Julius

Re: [NF] Free DNS Searches

2007-06-07 Thread Richard Kaye
You can still use most of the tools but they do want you to register. Charles Hart Enzer, M.D. wrote: This utility site used to be free: http://www.dnsstuff.com/ Now they want money. What do you suggest -- Richard Kaye Vice President Artfact/RFC Systems Voice: 617.219.1038 Fax:

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Chet Gardiner
By this logic, shouldn't car manufacturers move the steering wheel to the rear of the car and the pedals to the passenger side requiring twice as many folks to drive the thing down the road? That would be new and exciting! And analogous to moving/changing the application development

Re: Printing on envelopes from VFP app

2007-06-07 Thread Sytze de Boer
This is serious I had a client who phoned me to say there was an error in my program. Me: Why, what's wrong She: It's not printing correctly on the window envelopes Me: Can you be more specific ? She: When I put the envelopes into the printer, and tell your program to print the labels, it melts

Re: [OT]Teen Found Dead

2007-06-07 Thread Ricardo Aráoz
On Thursday 07 June 2007 10:37, Derek Kalweit wrote: If she had had a gun she would have had a fighting chance. I blame the liberal Ds for her death. Sure! Let's see... Someone with gun experience! What's the chance you have to draw your gun, aim and fire, when the other party has a gun

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Leland F. Jackson, CPA
After naming SUN Studio Creator 2 as a good example of a linux programming IDE that ran on Linux, I decided to install it on my FC6 desktop computer, since I hadn't looked at it since I evaluated it on FC4. I had problems installing Creator 2 on FC6, but after doing some additional reading, I

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Kenneth Kixmoeller/fh
On Jun 7, 2007, at 3:40 PM, Vince Teachout wrote: It was enormous gaul on the part of MS to cut off the majority of its (customer's) toolkit I'm not really following this thread at all, I was just surprised to see Julius Caesar working for Microsoft. :-P Oops, you meant Napoleon.

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Vince Teachout
Kenneth Kixmoeller/fh wrote: On Jun 7, 2007, at 3:40 PM, Vince Teachout wrote: It was enormous gaul on the part of MS to cut off the majority of its (customer's) toolkit I'm not really following this thread at all, I was just surprised to see Julius Caesar working for Microsoft. :-P

RE: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Bill Arnold
I think Linux is the best bet for the long run, with one assumption: that IBM endows it with it's SMP maintenance system. Then language/tool vendors can work within that paradigm to distribute and maintain their products without our having to deal with versioning, dependencies and other

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Leland F. Jackson, CPA
IBM in the past had used red hat Linux for its smaller clients and SUSE Linux to run with the big dogs. IBM upgraded SUSE Linux security to run on its mainframe computers (eg the 390 I think). Now that Microsoft has signed an agreement with Novell, who own SUSE Linux, to partner in allowing

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Leland F. Jackson, CPA
Whoops, I didn't include the below link in the previous post: http://www.novell.com/news/press/microsoft_and_novell_announce_broad_collaboration_on_windows_and_linux_interoperability_and_support or http://tinyurl.com/3xp67r Regards, LelandJ Leland F. Jackson, CPA wrote: IBM in the past had

Re: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Kenneth Kixmoeller/fh
On Jun 7, 2007, at 8:36 PM, Vince Teachout wrote: If you made a Napoleon joke, some might think it small of you. groan Thanks for the enlightenment on gall, Gaul, Gallia, by golly! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance:

RE: [NF} FoxPro and .NET better than Linux?

2007-06-07 Thread Bill Arnold
Leland, I can't, quickly anyway, seem to locate an overview, but one of IBM's redbooks describes SMP with a few words: Chapter 3 describes OS/390 SMP/E which is a tool designed to manage the installation of software products on your OS/390 system and to track the modifications you make to those

Re: [OT]Teen Found Dead

2007-06-07 Thread Michael Oke, II
If you were able to find out the statistics, you might be surprised. Most criminals have little or no experience with firearms and their ability to hit anything, aiming or not, isn't very good. Personally, I'll take my chances that I can draw, aim and fire before 99.9% of the criminals out