Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
data from row column intersection
#1
Solved: 11 Years, 4 Months ago
My que is:
If I want to fetch value from datasheet based on particular column-row intersection (like where clause in database).
Like I have value in two column as follows:
Gujarat-Gandhinagar
Maharastra-Mumbai
Karnatka-Bangaore

If I want to fetch Capital based on State, like from the data base:
Select Capital from tble where state="Karnatka"

Is it possible from datasheet, if yes how?
Reply
#2
Solved: 11 Years, 4 Months ago
you can use

Code:
DataTable.SetCurrentRow(RowNumber)'this will set the row
and

Code:
DataTable.Value(ParameterID [, SheetID])

or

Code:
DataTable(ParameterID [, SheetID])
to retrieve the value from a specified row and column
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  DataGrid: double click on selected row robertosalemi 0 4,428 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,085 04-14-2016, 11:11 PM
Last Post: Harry1999
  [UFT] Get column name from SfwObject felino 0 3,013 12-02-2015, 04:07 PM
Last Post: felino
  Keep row number imbizile 0 2,751 09-18-2014, 03:31 AM
Last Post: imbizile
  Retrieve row number based on value in DataTable marfa 6 30,725 07-31-2014, 08:36 PM
Last Post: dharshinishankari@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)