home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!umd5!info.umd.edu!chibuike
- From: chibuike@info.umd.edu (Chibuike O. Nwaeze)
- Newsgroups: comp.databases
- Subject: NEED HELP WITH DBASE4
- Message-ID: <14641@umd5.umd.edu>
- Date: 23 Jul 92 21:18:18 GMT
- Sender: news@umd5.umd.edu
- Organization: University of Maryland, College Park
- Lines: 62
-
-
- I need help creating a relational database. I have 3 databases
- subtype.dbf type.dbf and riotdata.dbf. riotdata contains the fields
- subtype and type, which form the text field typename and subtypename.
- what I need to do is relate these databses in such a way that the
- riotdata->type influences the field riotdata->subtype. type.dbf and
- subtype.dbf contain the text data for riotdata->type and riotdata->
- subtype.
-
- Here is part of my program so far
-
- ############################################################
-
- use subtype in 2 order ixcode
-
- select 1 * which is the riotdata database
- scan
- select 2
- ixcode = str(code) + str (subcode) * this does not work.
- seek ixcode
- replace riotdata->subtypenam with name
- select 1
- endscan
-
- #####################################################
-
- type.dbf
- ********
-
- has the following fields
-
- field 1: code field 2: name
-
-
- subtype.dbf
- ***********
-
- has the following fields
-
- field 1: code ( which is the same with type)
-
- field 2: subcode
-
- field 3: name
-
- riotdata.dbf
- ************
-
- has 58 fields including
-
- field 1: code ( which is the same with type & subtype)
-
- field 2: subcode (which is the same with subtype)
-
-
- if any one understands this and can be of help to me please send me e-mail
- at chibuike@info.umd.edu.
-
-
-
- -C. Nwaeze
-
-