-
Notifications
You must be signed in to change notification settings - Fork 102
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
Enhanced New Dataframe dialog #7964
Enhanced New Dataframe dialog #7964
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@N-thony I am approving, because it does solve the problem that we found. So it could be merged.
But there are also problems with the defaults of letters(1,10) and LETTERS(1,10) that you may want to resolve at the same time.
There are 2 problems with those options:
a) when they are used they currently only work if the length of the data frame is a multiple of 10. It usually will be, but if you put the usual rep
round it, then it would always work.
b) They won't work, when the variable is numeric or integer. So check if they are set. I suggest if they are set and the type is numeric or integer, you make that variable into character instead.
c) Also they won't work if the type is set to be a factor and you have set the levels. So, again, check that and make it a character variable instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instat/dlgNewDataFrame.vb
Outdated
Dim iColDefaultIndex As Integer = dataTypeGridView.CurrentRow.Cells("colDefault").ColumnIndex | ||
Dim iRowDefaultIndex As Integer = dataTypeGridView.CurrentRow.Cells("colDefault").RowIndex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are only used on line 608.
Move these lines into the line 606 If
block.
@lloyddewit I will make them later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine
Fixes #7957
@berylwaswa can you test this? Thanks.