SQL Error due to DateRangeStartAutoGlob
Posted: Wed Jul 09, 2014 1:07 pm
I recently went through and did a Full Integration of SeedCode Calendar Pro into my system instead of just linking. Everything seems to be in correctly now with the exception of one thing. Anytime that I try to pull up a calendar such as Week, Day, or Month I get a SQL error. After reviewing some of the forum posts and reviewing the error's instructions. I also reviewed some of the data viewer statements and found the issue as best that I can find.
SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampStartCalcNum" Between and
Union SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampEndCalcNum" Between and
Union SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampStartCalcNum" < and a."zscTimestampEndCalcNum" > ORDER by 1
The part in RED should have the date range that is applicable to what is being viewed on screen as far as I understand. I also went through some of the code and found that the two pieces of information are the global fields DateRangeStartAutoGlob and DateRangeEndAutoGlob. However, I cannot for the life of me figure out when and where they should be written with the correct values. They just seem to stay blank all of the time no matter what happens.
Thanks in advance for the help.
SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampStartCalcNum" Between and
Union SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampEndCalcNum" Between and
Union SELECT a."zscTimestampStartCalcNum", ''||a."__KP_JobID", a."JOB_Date Start", a."JOB_Date End", a."TimeStart", a."TimeEnd", ''||a."JOB_Date Due" , 1, a."zscTimestampEndCalcNum" FROM "SampleEvents" a where a."zscTimestampStartCalcNum" < and a."zscTimestampEndCalcNum" > ORDER by 1
The part in RED should have the date range that is applicable to what is being viewed on screen as far as I understand. I also went through some of the code and found that the two pieces of information are the global fields DateRangeStartAutoGlob and DateRangeEndAutoGlob. However, I cannot for the life of me figure out when and where they should be written with the correct values. They just seem to stay blank all of the time no matter what happens.
Thanks in advance for the help.