The project is "The giving tree". Each Christmas season, my charity collects names of kids who won't have a Christmas gift. The database is MySQL, and we're using BASE as the front end. We collect parent(s) name(s), address and such like in tblParents:
Code: Select all
Drop TABLE tblParents;
CREATE TABLE tblParents
(ID int(10) PRIMARY KEY NOT NULL auto_increment,
AFirst VARCHAR(25) NOT NULL,
ALast VARCHAR(25) NOT NULL,
ASSN VARCHAR(15) NOT NULL,
BFirst VARCHAR(25) NULL,
BLast VARCHAR(25) NULL,
BSSN VARCHAR(15) NULL,
Address VARCHAR(25) NULL,
Address2 VARCHAR(25) NULL,
City VARCHAR(25) NULL,
Zip VARCHAR(11) NULL,
Phone1 VARCHAR(14) NULL,
Phone2 VARCHAR(14) NULL,
Type = InnoDB;
Code: Select all
Drop TABLE tblChildren;
CREATE TABLE tblChildren
(ID int(10) PRIMARY KEY NOT NULL auto_increment,
ParentID int(10) NOT NULL,
Identifier VARCHAR(1) NULL,
First VARCHAR(25) NOT NULL,
Last VARCHAR(25) NOT NULL,
Age int(10),
Gender VARCHAR(1),
SSN VARCHAR(15) NOT NULL,
WishList VARCHAR(250) NULL,
NeedsCoat tinyint(1),
ShoeSize VARCHAR(10),
PantSize VARCHAR(10),
ShirtSize VARCHAR(10))
Type = InnoDB;
Secondly, the relationship between kids and parents is many-to-one. I specified datasheet view in the form, but filling in a 250 character wish list in datasheet form is pretty messy for the volunteers. What I'd like to happen is when the focus moves to a child in the datasheet subform, a sub-sub form (I know -- I told you I was a clueless noob) or something should open where we could format that data neater than we can in a datasheet view.
I don't even know how to pose the question to the search engines, as I lack the terms to search. Where could I start?
terwilliger jones