Combobox autocomplete only working on some values? - visual-studio

I have a combobox that is dynamically filled with datasources. The values are just number ranges (e.g. 1-50, 61-100). For some reason autocomplete doesn't always work:
example:
combobox is filled with 1-50
typing in 4 shows 40,41,42...
typing in 2 does not show 20...

Your combo box contains the exact value "2". The combobox autocomplete will not suggest a different value for "2" since an exact match exists. In your video demo a "3" elicits an autocomplete suggestion since there is no value that exactly matches "3".
If you want to force autocomplete to suggest double-digit values, you could look into specifying an AutoCompleteCustomSource that excludes all single-digit values.

Related

Record Selection formula in Crystal filtering too much

I'm trying to show records that have a certain DocumentName, where the id numbers don't match, but also show ones where the id number is blank, but every time I add the part about not matching id's with that document name, the blank ones drop out. I'm using "or", so why is it removing them? How do I fix it? My parenthesis look ok to me. This is what I have in Report->SelectionFormulaEditor:
//first part that makes second part lose the blanks
(not({Person.ID_Number}={Person_ID_Numbers.ID_Number})
and
{Person_ID_Numbers.DocumentName}="Verification")
or
//second part that works fine without first part
isnull({Person.ID_Number})
or({Person.ID_Number}="")
or(CStr({Person.ID_Number})="")
or
isnull({Person_ID_Numbers.ID_Number})
or({Person_ID_Numbers.ID_Number}="")
or(CStr({Person_ID_Numbers.ID_Number})="")
I figured it out. There was was a menu in Selection Formula Editor and it had "Exceptions for Nulls"
selected. I selected "Default Value for Nulls" and the nulls/blanks showed up.

Google Sheets - Dynamic Cell Range For Data Validation, Specifically List Of Items Criteria

I am having some issues with specifying a dynamic cell range for a "data validation".
I'm aware you can do some tricky stuff with = "Projections!M4:M"&O2. You can update the content of cell O2 for example to 3 and the output would be Projections!M4:M3.
This makes the value "dynamic". These tricks don't seem to work in the "Cell Range:" input field in the Data Validation selection/configuration screen.
My problem is, I hate seeing drop down arrows (call me o.c.d) for rows that have no content, my number of rows will grow in the future so I don't have any other option than selecting M4:Mfills the whole 1002 rows with drop down arrows.
Has anyone worked out a trick to make dropdown arrows only show up for rows that are filled?
I'm using = COUNTA(B4:B)to get the number of rows that are filled and = "Projections!M4:M"&O2 to make the desired Projections!M4:MX string but the "Cell Range" input field in the Data validation screen doesn't accept this as valid either.
Well I didn't find a direct solution, but something that I can work with to resolve my issue which was I hate seeing drop down arrows for empty rows.
I turned a filter on for a column that will always be filled in and filtered by conditions Cell is not empty but i'd prefer a better solution.

Kendo UI Auto Complete when user does not select an option from the suggestions

When using Kendo UI Autocomplete with filter: 'contains' and suggest: true if the user types-in a value that causes a match in the middle (say kingdom in the demo) and tabs out, the value becomes kingdom and not United Kingdom as one would expect. This causes data entry errors. Anyway to enforce the desired behavior? We want the users to be able to type-in anything if they could not find any option so mandating a selection isn't an option but we want the users to be able to pick a selection once they find it rather than current behavior where if the tab, they lose the found selection unless they select it manually... something like if they typed in the value that matches in the starting (e.g. united in the demo) and tabing out. The match using contains instead of startsWith is also desirable.
As the Kendo UI AutoComplete allows for custom values (a behavior that you are saying you want to keep), the widget does not have a built-in way to distinguish between a custom value, and a match that you want to select from the list (like in the example - when the user types "united" and presses TAB, he may simply want the widget to have value "united", and not necessarily "United Kingdom").
You can achieve the desired behavior by implementing some custom "blur" event handler, and setting the value of the AutoComplete to be the one from the list, if for example the length of the list is 1 when the user presses TAB, or otherwise blurs the widget's input, for example:
Modified example

Filter() formula ignoring blank cells

I'm trying to use the filter() formula within a spreadsheet, from another tab within that spreadsheet.
I've got a number of drop-down menus that, when used, bring up the relevant data from the table I'm filtering from.
I've managed to make it work when it's a table of data from row 2 downwards (row 1 being a header row), but now the table starts from the 6th row down with other information above it (most of it, however, is blank). As such, now all of the options come up automatically when the drop down menus are blank.
I either need the formula below to start from the 6th row down, or to ignore the blank cells. It must be an easy solution but for the life of me, I can't find it anywhere on the internet (I'm pretty new with spreadsheet formulas so please be gentle).
This is the formula I've been using that works when there are no blank rows:
=FILTER(Sheet2!A:T,(Sheet2!D:D=B12)+(Sheet2!F:F=C12)+(Sheet2!G:G=D12)+(Sheet2!H:H=E12)+(Sheet2!I:I=F12)+(Sheet2!N:N=G12)+(Sheet2!O:O=H12)+(Sheet2!T:T=I12))
If it helps, the drop-down options are both numbers and text, and I'm using Google Sheets rather than Excel.
You can probably just change your ranges to 'A6:T' instead of 'A:T'. 'A:A' range syntax gets all rows in that column. 'A6:A' will start it at 6 but not define an ending row, which I think is what you want.
This is your formula with those small changes:
=FILTER(Sheet2!A6:T,(Sheet2!D6:D=B12)+(Sheet2!F6:F=C12)+(Sheet2!G6:G=D12)+(Sheet2!H6:H=E12)+(Sheet2!I6:I=F12)+(Sheet2!N6:N=G12)+(Sheet2!O6:O=H12)+(Sheet2!T6:T=I12))
The =isBlank() formula may be useful to you as well. It takes a cell reference and returns true/false. You can wrap this in NOT() to give the opposite result, i.e =NOT(ISBLANK(A1)) will return true if there is a value.

SSRS sort icon not showing up in header but showing up in column values

I am very new to SSRS. Infact this is my 2nd report.So in SSRS, I went to Interactive Sorting and checked the "Enable interactive sort on this text box". Chose the first radio button "Detail rows".For sort by I chose "ColumnName" and clicked ok. I ended up with a sort icon on every value .The data here may seem duplicate but it is correct. I have additional 6 columns apart from this "Product" column. I repeated the sort action for all columns same way, the only difference being the different "Sort by" column. I get the icon on all columns in all rows. I want it on the header only.
Apart from that I get this warning 6 times :[rsIneffectiveSortExpressionScope] The text box ‘ColumnName’ is defined at the scope “Details”, which is identical to the scope used as SortExpressionScope. This interactive sort has no effect at runtime, since it sorts only the particular instance itself.
What is that i am doing wrong ?and what should i do to correct it?
Rt click on the textbox with the Column Name, click on
Interactive Sorting
then Check
Enable Interactive Sorting on this textbox
and then select the appropriate group you want to sort.
AFTER EDIT
if you dont have any groups yet, just select Details Row. If you have/create any group, then you need to select the radio button Group.
The sort by will actually have the column you want to sort with.

Resources