I am writing a target setting system and I wish to say to users that "You may choose a target from a target bank, adjust an existing one or create your own". Now I just have to get Aware to do this!
To do this I have
BOTargetSheet
- attrName - PLAIN - Eg. Fred Blogs
- attrOverallgoal - PLAIN - Eg. Improve stamina for a marathon
- attrTargets - BOTargetLines(s) - One or more of example below
BOTargetLine
- attrTarget - PLAIN - Run 2km in under 10 minutes
- attrGoalDate - DATE - 10/10/2011
- attrAchievedDate - DATE - 3/10/2011
BOTarget
-attrTargetType - PLAIN - Fitness and Stamina Training
- attrTargetAudience - PLAIN - Adult
- attrTarget - PLAIN - Run X km in under Y minutes
So, RATHER than link BOTarget to BOTargetLine I'd like the user (a personal trainer) to browse and use the search filters target type, target audience to find a suitable target. In this case "Run X km in under Y minutes". When they select this I want BOTarget.attrTarget to copy into BOTargetLine.attrTarget whereupon they are free to use the keyboard to edit the values of x and y.
I'd like to do it this way because if one personal trainer changed a target in BOTarget they'd inadvertently change it for everyone else.
If no target is found which is suitable I'd like the ability to add one but that's as simple as putting an add button on the BOTargets and then selecting it.
Any nudges in the right direction would be appreciated. I'm not sure how I get two BO's in context.
Many thanks in advance,
J