Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calc Tables should be created in Import mode #485

Closed
otykier opened this issue Jun 10, 2020 · 1 comment
Closed

Calc Tables should be created in Import mode #485

otykier opened this issue Jun 10, 2020 · 1 comment
Labels
bug Anything that is supposed to work, but doesn't.
Milestone

Comments

@otykier
Copy link
Collaborator

otykier commented Jun 10, 2020

Tabular Editor creates Calc Table with a partition in Default mode. They should always be created in Import mode, as we will get an AS engine error when the Default mode on the model is something other than Import.

As a workaround, use the following script to explicitly set the calc table partition mode to Import:

Selected.Table.Partitions[0].Mode = ModeType.Import;
@otykier otykier added the bug Anything that is supposed to work, but doesn't. label Jun 15, 2020
@otykier otykier added this to the 2.11.0 milestone Jun 19, 2020
otykier pushed a commit that referenced this issue Jun 19, 2020
@otykier
Copy link
Collaborator Author

otykier commented Jun 20, 2020

Fixed in 2.11.0

@otykier otykier closed this as completed Jun 20, 2020
SergioMurru pushed a commit to SergioMurru/TabularEditor that referenced this issue Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Anything that is supposed to work, but doesn't.
Projects
None yet
Development

No branches or pull requests

1 participant