I know, it's probably the millionth time some newbie has asked this, so I'm sorry if this is a patience tester, but here goes anyway.
I'm trying to set up a sort of "Criteria Table" for blind Users of a Talking Book library.
I have a Table of "Borrowers", into which I'd like to put a "fkCrit" field to link to a "pkCrit" field in the Criteria Table. All fairly straightforward so far.
Now the bit where my techniques and knowledge start to crumble.
What I'd like to achievein the Criteria Table is a list of criteria with a variable number of entries. These criteria will be entered into the table via a Form (probably), used on Borrower setup / maintenance.
The ideal would be a structure like -
In English, this would contain something like 2 entries of
1. AuthorForename (CritFieldName) "is" (CritFieldTest) "Agatha" (CritFieldText) "and" (CritFieldLink)
2. AuthorSurname (CritFieldName) "is" (CritFieldTest) "Christie" (CritFieldText) "" (CritFieldLink)
or 3 entries of
1. AuthorForename (CritFieldName) "is" (CritFieldTest) "Agatha" (CritFieldText) "and" (CritFieldLink)
2. AuthorSurname (CritFieldName) "is" (CritFieldTest) "Christie" (CritFieldText) "and" (CritFieldLink)
3. Title (CritFieldName) "does not contain" (CritFieldTest) "Poirot" (CritFieldText) "" (CritFieldLink)
The question is, how do I set up the Table to contain a variable number of repeating field groups?
I know I could just pre-defeine a working maximum of say 20 fixed groups of criteria, and just use CritCount to extract them, but is there a more elegant (and space saving) way?
Any advice would be appreciated....
I'm trying to set up a sort of "Criteria Table" for blind Users of a Talking Book library.
I have a Table of "Borrowers", into which I'd like to put a "fkCrit" field to link to a "pkCrit" field in the Criteria Table. All fairly straightforward so far.
Now the bit where my techniques and knowledge start to crumble.
What I'd like to achievein the Criteria Table is a list of criteria with a variable number of entries. These criteria will be entered into the table via a Form (probably), used on Borrower setup / maintenance.
The ideal would be a structure like -
Code:
' pkCrit Autonumber
' fkBorrower Long
' CritCount Integer
' CritGroup ???
' CritFieldName String
' CritFieldTest String
' CritFieldText String
' CritFieldLink String
In English, this would contain something like 2 entries of
1. AuthorForename (CritFieldName) "is" (CritFieldTest) "Agatha" (CritFieldText) "and" (CritFieldLink)
2. AuthorSurname (CritFieldName) "is" (CritFieldTest) "Christie" (CritFieldText) "" (CritFieldLink)
or 3 entries of
1. AuthorForename (CritFieldName) "is" (CritFieldTest) "Agatha" (CritFieldText) "and" (CritFieldLink)
2. AuthorSurname (CritFieldName) "is" (CritFieldTest) "Christie" (CritFieldText) "and" (CritFieldLink)
3. Title (CritFieldName) "does not contain" (CritFieldTest) "Poirot" (CritFieldText) "" (CritFieldLink)
The question is, how do I set up the Table to contain a variable number of repeating field groups?
I know I could just pre-defeine a working maximum of say 20 fixed groups of criteria, and just use CritCount to extract them, but is there a more elegant (and space saving) way?
Any advice would be appreciated....