main logo
Subject: Newbie Questions - Forms/Classes/DataEnv
Author: Lynette Tillner
Posted: 2001/09/21 14:26:37
 
View Entire Thread
New Search


I will preface this with a disclaimer that I come from the FoxBase, FoxPro 2.6 world and am new to OOP --- Still on the uphill side of this learning curve. I ave been trudging through the Codebook News archives and find the amount and quality of information excellent although somewhat overwhelming at this point in my personal CB Knowledge Base (I'm sure I will read these Docs over and over before I really --- GET IT)

First, thanks to Geof Whitham's Step by Step Doc, I have the beginnings of my first app. (which I'm sure will get completely rewritten later -- when I'm further along in the learning process -- but that's a GOOD thing)

I have been learning from Whil Hentzen's books especially Fundamentals... so in relation to Codebook (which I just found this week) I am confused in several areas and post my questions here to get answers and hopefully help any other Codebook and OOP novices like myself!

1 -- Codebook appears to completely throw out the VFP Data Environment -- correct? And extensively uses VIEWS to base forms on..... Leading to:

a) How do I get the view to pop up in the Data tab of the properties so that I can easily find the control source for the controls I need to build on my forms (from my acustcontrls classlib!) Geof's example simply drags the textbox controls from the project's data tab which then uses VFP's base class (not what I want to do)

b) If I am doing a one to many form (I admit NOT reading through The Codebook News Volume 3, Issue 1 yet) do you find it better to create a single view incorporating 2 or more tables or to put the cursors for multiple single table views in the ibizobj subclass for the form?

2 -- Views using One to Many to Many relationships drive me crazy.... Any suggestions for simplification... specifically where you need FULL joins in the data entry process of adding new children, grandchildren, etc.

I'll stop there and come back and post again as I come up with more questions. Thank you for your assistance!

Lynette

Lynette
ltillner /at/ yahoo D.O.T com

 
©2001 Lynette Tillner
<-- Prior Message New Search Next Message -->