It gives me error that “Unable to find column ‘Sl_No’, did you mean ‘ID’?”. I know this error is because Sl_No column is not available in Table 1, hence this error is coming. Please let me know how to solve this as sorting using Sl_No column is mandatory.
the expression is triggering on Table 1 on column Depth. Select expression is completing the job for table2. On top of it, we are applying Orderby experssion and he is looking SL_No in table 1.
this is the whole issue that i am unable to direct orderby to table2 to sort based on Sl_No.
Orderby: By default consider the columns of the same table in which he is being applied.
Now in my case since [Depth] is not the “ID” column in the table. It is giving me error. The ID column name is ID in the table. If, I replace [Depth] with [ID] the syntax become right and error is solved.
But my requirement is to sort the depth using ROD which is Serial Number. Please help to solve this with your knowledge set.
I am not sure if you are trying to sort by the values of [Sl_No] or [depth].
The fact you want the list to look like “1.25,1.50,1.75,2” indicates you want it sorted by [depth] but you are also saying it should be sorted by [SI_No].