I�m new(ish) to Alpha 5 having worked with Dataease for many years and would welcome advice as to whether the following is possible in A5.
Table A holds records representing time which are used to calculate the number of half hours slots an activity will take. ( timeend-timestart) converted to seconds then /(30*60) to produce number of slots.. That�s fine and done.
Timefields (shorttime) represent 08.00, 08:30 to 23.30. via simple list lookups.
Now here�s where I loose the plot�
I have set up a �diary� table with blank records for every day of the year with fields to �hold� a character value which then in turns triggers a colour equation so when looking at a browse view unoccupied fields show green occupied red. Each field represents a �time slot�.
The idea being to be able to see which time slots are free and which occupied.
Lets say the first time period is 8:30 the last 10:00 ie three half hour periods. Is there any way to then post the �slots� so they incrementally modify 3 adjacent fields in the �diary� table in a single record.
A massive nested if() might well work but can it be done using a �while loop� or � count� function within a script..
Simply is there a function that incrementally moves to the next field. ( field1, field 2, field 3) . Is there a �move to next field� function�?
Any advice would be welcome. Hopefully this question is posted in the correct section.
Table A holds records representing time which are used to calculate the number of half hours slots an activity will take. ( timeend-timestart) converted to seconds then /(30*60) to produce number of slots.. That�s fine and done.
Timefields (shorttime) represent 08.00, 08:30 to 23.30. via simple list lookups.
Now here�s where I loose the plot�
I have set up a �diary� table with blank records for every day of the year with fields to �hold� a character value which then in turns triggers a colour equation so when looking at a browse view unoccupied fields show green occupied red. Each field represents a �time slot�.
The idea being to be able to see which time slots are free and which occupied.
Lets say the first time period is 8:30 the last 10:00 ie three half hour periods. Is there any way to then post the �slots� so they incrementally modify 3 adjacent fields in the �diary� table in a single record.
A massive nested if() might well work but can it be done using a �while loop� or � count� function within a script..
Simply is there a function that incrementally moves to the next field. ( field1, field 2, field 3) . Is there a �move to next field� function�?
Any advice would be welcome. Hopefully this question is posted in the correct section.
Comment