Hi,
This problem has eaten up more than half my day and I really could use some guidance please...
I have a UX, that is unbound (has no Data Binding)
there are 2 sets of a Textbox next to a Button
that look like this
20_FrontEnd_OpenByFields.png
The idea is to open a Grid, and link or filter on the value shown in the Textbox next to the button.
The first Textbox field properties Type is Character, and the second Textbox Type is Numeric
I have also set Default Values in each of the Textboxes, as shown in the picture attachment above.
The click event for each button is set to Action Javascript: Open a Grid component
I have tried using both Link and Base Filter method for opening the grid component.
And it only works... with default values
So if I do NOT type in any value into the related Textbox, then the grid opens (filtering on default value)
As soon as I try typing in a value into either textbox (even if I type the same default value) then the Open a Grid component returns "No Records in query"
So I tried it again using Base Filter (instead of Link) and the exact same behaviour....
Default values work fine, the grid opens and returns rows
But if I type in a value into a textbox then the grid fails to return any rows.
The weirdest behaviour was when I used Base Filter as the method of opening the grid, set up like this
BaseFilterVehicleID.png
Default value works fine, but if I try and type a value into the Textbox and then click the button, the grid totally fails, and the SQL shows that the Textbox parameter was not even passed across... as you can see in this SQL error message
41_iVehicleNull_OpenUsingFilter.png
Another weird behaviour...
If I click in a Textbox and type the exact same default value again
then click the button, the linked grid fails
If if I click in a Textbox and type the exact same default value again, but I only over-type one single character of the default value
then click the button, the linked grid works fine.
I even tried using a Javascript function for each of the Link but that failed also, the grid doesn't render and returns no message
30_LinkUsingFunction.png
31_LinkFunction.png
What am I doing wrong here?
This problem has eaten up more than half my day and I really could use some guidance please...
I have a UX, that is unbound (has no Data Binding)
there are 2 sets of a Textbox next to a Button
that look like this
20_FrontEnd_OpenByFields.png
The idea is to open a Grid, and link or filter on the value shown in the Textbox next to the button.
The first Textbox field properties Type is Character, and the second Textbox Type is Numeric
I have also set Default Values in each of the Textboxes, as shown in the picture attachment above.
The click event for each button is set to Action Javascript: Open a Grid component
I have tried using both Link and Base Filter method for opening the grid component.
And it only works... with default values
So if I do NOT type in any value into the related Textbox, then the grid opens (filtering on default value)
As soon as I try typing in a value into either textbox (even if I type the same default value) then the Open a Grid component returns "No Records in query"
So I tried it again using Base Filter (instead of Link) and the exact same behaviour....
Default values work fine, the grid opens and returns rows
But if I type in a value into a textbox then the grid fails to return any rows.
The weirdest behaviour was when I used Base Filter as the method of opening the grid, set up like this
BaseFilterVehicleID.png
Default value works fine, but if I try and type a value into the Textbox and then click the button, the grid totally fails, and the SQL shows that the Textbox parameter was not even passed across... as you can see in this SQL error message
41_iVehicleNull_OpenUsingFilter.png
Another weird behaviour...
If I click in a Textbox and type the exact same default value again
then click the button, the linked grid fails
If if I click in a Textbox and type the exact same default value again, but I only over-type one single character of the default value
then click the button, the linked grid works fine.
I even tried using a Javascript function for each of the Link but that failed also, the grid doesn't render and returns no message
30_LinkUsingFunction.png
31_LinkFunction.png
What am I doing wrong here?
Comment