Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

CalendarGen: table not found

Hello,

We have found a bug in CalendarGen.

// Autoidentify Table Name

if '$(vL.FindFieldTableName)' = '' then

For vL.TableNoIdentified = 0 to NoOfTables() -1

    Let vL.TableNameIdentified = TableName($(vL.TableNoIdentified));

    For vL.FieldNoIdentified = 0 to NoOfFields('$(vL.TableNameIdentified)')  - 1

We have replaced the last line by the following because field numbers start at 1.

    For vL.FieldNoIdentified = 1 to NoOfFields('$(vL.TableNameIdentified)')

Regards,

Krzysztof

1 Solution

Accepted Solutions
Magnus_Berg
Employee
Employee

Hi again Krzysztof, the calendar function is now corrected and updated.

QlikView Deployment Framework Deploy Tool

We have also added two additional flags taken from HIC's blog post

http://community.qlik.com/blogs/qlikviewdesignblog/2014/03/03/ytd

CurrentMonth Flag– Current Month flag shows 1 if historical month is same as current month

LastMonth Flag- Last Month flag shows 1 if historical month is same as last month

The development guide is also up to date with these new fields.

Cheers

View solution in original post

3 Replies
schlettig
Partner - Creator
Partner - Creator

Dear Krzysztof Magusiak,


thx for that, that helped me also.

It should be corrected in the next version, because if the DataLink Field was the last Field in a table it wouldn't be found.


Best regards,

C.

Magnus_Berg
Employee
Employee

Thanks Krzysztof for finding and reporting this bug.

We will modify the function and send out a new version 1.3.2.

When the update is done I will post that in this thread .

Cheers

Magnus_Berg
Employee
Employee

Hi again Krzysztof, the calendar function is now corrected and updated.

QlikView Deployment Framework Deploy Tool

We have also added two additional flags taken from HIC's blog post

http://community.qlik.com/blogs/qlikviewdesignblog/2014/03/03/ytd

CurrentMonth Flag– Current Month flag shows 1 if historical month is same as current month

LastMonth Flag- Last Month flag shows 1 if historical month is same as last month

The development guide is also up to date with these new fields.

Cheers