Im wanting to embed a view that displays a record based on a field value
For example;
<div elName='zc-component' viewLinkName='Class_Details' params=' " Where field 'teacher' = 'Mr Baldwin' " &zc_SecHeader=true'></div>
This should be ver simple - although I cant seem to make it work - not sure of the sytax
However I need to take it one step further...
lets say instead of 'Mr Baldwin' being a record in the form the view is based on, lets assume its a related field in another form (related as he would be the teacher of the student who is the subject of the record); this I am struggeling to do; for example;
Show the teachers details in the view (based on teacher details form) where the student name is 'Alex Timmings'
Ive been trying things like this;
rec = Teacher Name [student_Name == input.Alex Timmings];
<div elName='zc-component' viewLinkName='Teacher_Details' params='Teacher_Details=<%=rec.teacher_Details%>&zc_Search=false>Loading View...</div>
But cant make work - I should add I have encountered HTML for the first time this week & am a total newbie!
Please help!