Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5631 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

My db traces students activities during last year.

modules

students

events

A portal in students layout working fine showing related events...

A new portal I placed in "modules" table to show related students aint wonking. Need help on this.

Thanks

Edited by Guest
Posted (edited)

Solved in the same way you told me. Thanks again for your eye in catching those little things...

The field disciplina was initially created as a word field to be filled as a popup. I just deleted that field in "avaliação" and created a new one. Imediately worked both portals, the aluno (student) and the disciplina (module).

Edited by Guest
Posted (edited)

I am sending a revised version with renamed tables for you to take a clue whats going on. As you can see, the portal in modules (former "disciplina") works now. I tried to went further and created a portal in "new class" layount, (former "turmas")to list all students in there. There is a bug somewhere in showing module for each student. I also tried to set that portal up in a layout called "class 2" but it went bad.

Hope you can find what's going wrong in my relational schemma. Thanks

Edited by Guest
Posted (edited)

I am sending you a new version. I made a major upgrade, as "events" now scores faltas (missing classes by the students - fault). Faltas carries a date but dont need a value associated with...

In students portal, I wished to separate "faltas" from other events, therefore I created a calculation field event_faltas_check which works fine. I guess my portal wont filter faltas from the other events :

Well I have an idea, which is, to sorting event_faltas_check in both situations...

Edited by Guest
Posted (edited)

Right. I went further and applied the same method to filter all tests events. I called filter_event_provas but...

it works as expected if filter_event_provas = "testes escritos"

However if I wanted "testes escritos" or "fichas formativas", the portal stays empty. I believe a more conplex expression should be written or the relationship refined...

moduleportal_rev4.zip

Edited by Guest
Posted (edited)

I created two new fields in events table. Both having troubles :D

event_record_number = Get ( FoundCount ), when listed in a portal, displays the same value, not an incremental list 1, 2, 3...

previous_value = Case (event_type="teste escrito" or "ficha formativa" ; event_value ; ( Get ( FoundCount ) - 1 ) ) should return the event_value prior to the last. I am not sure the field is correctly sat up, as I still have fewer data.

moduleportal_rev5.zip

Edited by Guest
Posted (edited)

Ok, done. I need previous_value to display, for each student, his/her event_value previous (before) the last event_value achieved.

Example: a student had in September 60 points. In October he had 70 points. The previous_value should display "60"...

Please help me in this calculation.

Edited by Guest
  • 2 weeks later...
Posted (edited)

Using the same example, now I called it "date range", I tried to calculate the average for event:event_value within a date interval. I called that field

student:event_1st quarter

It is a calculation so

Case ( event::event_date

You will see that Carlos Dias (student_ID 1), has a teste escrito [color:green]after Date ( 12 ;31 ; 2008 ). However, student:event_1st quarter still includes it in the average calculation. Why?

date_range.zip

Edited by Guest

This topic is 5631 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.