I am desperately trying to map a Postgresql query to the planner adapter. But I can't display the default elements of the table.
The query is a filtered table configured like this:
CREATE TABLE IF NOT EXISTS public.larcauth_edt_classe
(
id character varying(13) NOT NULL,
ressource_dow character varying(5) default ' ',
title character varying(255) default ' ' ,
text character varying(255) default ' ',
starttime timestamp without time zone,
endtime timestamp without time zone,
recurrency character varying(255) ,
color smallint default 0,
ref_term smallint,
ref_classroom integer,
CONSTRAINT larcauth_edt_classe_pkey PRIMARY KEY (id)
)
My idea is to break down a day into 30-minute periods. Everything is configured in advance for one week. The interface is designed to modify the 30-minute events that already exist for each day: it cannot create or delete any. At the end of this configuration, which I haven't managed to finalize, the software is supposed to create a real schedule taking into account real dates and public holidays or other events implemented in other calendars.
Some recordings of the request.
The schedule is set to pmDay. I use the resources to display the events of each day from Monday (0) to Saturday (6) without worrying about the real dates.
I've also tried to fill a dataset from the SQL query, using the planner and database example delivered with the UI pack, without success: I'm missing something. I've come to ask for your help.
Here is the configuration in the form creation procedure :
I activate the dataset in the form show procedure.
When I launch it, it does not stop running and the form is not showing.
The others problems I met are quite solved, not linked to the first one.
The Planner shows me doubled events. Normally, I should have 22 per day. Solved ( The query has been checked and modified.)
There's no title or text! Solved (increase TimeLine.DisplayUnitSize with TimeLineAppearance to false)
Sometimes there are events for which I shouldn't have 30-minute periods, like before 7:00 am and after 4:30 pm. Solved ( Request has been checked and modified.)
The scheduler seems to be locked. I can't click on it or select periods (in progress).
Thank you very much for unblocking me. Post solved.