Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Yearwood
  Where is Mike Yearwood?
 Toronto
 Canada
 Mike Yearwood
 To: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 Tags
Subject: RE: Bernard CA New Tutorial Part 3
Thread ID: 208997 Message ID: 209618 # Views: 3 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Tuesday, December 30, 2008 4:01:38 AM         
   


> >
> > Hey Bernard
> >
> > I have to disagree with you there. Walking before running applies to children. I find hello world samples about as useless as - insert your preferred phrase here -.
>
> I agreee. They don't so much. However this is not a Hello World sample but a practical use of CA's. If you have been following these threads you would have seen the number of "it does not work" replies as people tried to experiment without a basic knowledge, whereas if you ask me I could do that tut and get it to work in under 5.
>
> Some of the "programmers" don't even know how to debug and single-step code.
>
> >
> > As an adult, skilled programmer, I most fervently want examples of masterfully created systems in other languages, rather than the inane samples usually offered. If those systems were broken down into digestable chunks, I know I could transfer my knowledge. Since I already do know how to run, I only need pointers to adapt how I run to another environment.
> >
> > Knowing how to swim, do I have to doggie paddle before I butterfly?
>
> Knowing how to fly a plane does not give you any knowledge to fly a 747.

Uh, actually? I've flown many flight simulators since 1979. As a result, I was able to fly a real Cessna including side-slipping, like I'd done it for years. All of that does help me fly a simulated 747. Having learned to fly a 747 would help fly a Cessna, I'm pretty sure.

>
> >
> > The CursorAdapter should have been designed to accept a parameterized where clause out of the box. That is part of why it's hard to use.
> >
> You can just change the SELECTCMD property. I added the other clauses because I like to break things up.

That's poor OOP - or what I refer to as POOP ;) By changing the selectcmd and then executing the cursorfill, another object could have changed the selectcmd before the first cursorfill resulting in too much weirdness.
>
> Besides if you design your classes properly the first time, you only have to add that property for a where clause once in your base class.

Yes, but my point is you and I should not have had to do that. It should be that way from the source.

Mike Yearwood
Microsoft MVP Visual FoxPro 2008



We have enough youth. We need a fountain of smart!
There may be many ways to skin a cat, but there are very few right ways to do it.

ENTIRE THREAD

Bernard CA New Tutorial Part 3 Posted by Samir Ibrahim @ 12/23/2008 1:18:40 PM
RE: Bernard CA New Tutorial Part 3 Posted by mike castillo @ 12/23/2008 2:14:59 PM
RE: Bernard CA New Tutorial Part 3 Posted by Samir Ibrahim @ 12/23/2008 3:47:39 PM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/24/2008 2:23:22 AM
RE: Bernard CA New Tutorial Part 3 Posted by Benny Thomas @ 12/24/2008 7:44:25 PM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/25/2008 1:09:05 PM
RE: Bernard CA New Tutorial Part 3 Posted by Benny Thomas @ 12/25/2008 6:57:17 PM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/27/2008 6:57:21 AM
RE: Bernard CA New Tutorial Part 3 Posted by vivek deodhar @ 12/27/2008 5:58:12 AM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/27/2008 7:04:00 AM
RE: Bernard CA New Tutorial Part 3 Posted by Mike Yearwood @ 12/27/2008 4:06:01 PM
RE: Bernard CA New Tutorial Part 3 Posted by vivek deodhar @ 12/29/2008 5:42:39 AM
RE: Bernard CA New Tutorial Part 3 Posted by Mike Yearwood @ 12/27/2008 4:07:55 PM
RE: Bernard CA New Tutorial Part 3 Posted by Benny Thomas @ 12/28/2008 2:04:35 PM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/29/2008 3:41:41 AM
RE: Bernard CA New Tutorial Part 3 Posted by Benny Thomas @ 12/29/2008 9:35:38 AM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/29/2008 6:02:04 PM
RE: Bernard CA New Tutorial Part 3 Posted by Mike Yearwood @ 12/29/2008 8:45:10 PM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/30/2008 2:50:22 AM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/30/2008 2:56:26 AM
RE: Bernard CA New Tutorial Part 3 Posted by Mike Yearwood @ 12/30/2008 4:01:38 AM
RE: Bernard CA New Tutorial Part 3 Posted by Bernard Bout @ 12/31/2008 5:39:06 AM
RE: Bernard CA New Tutorial Part 3 Posted by Mike Yearwood @ 12/31/2008 4:11:38 PM