Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

access ROWID

Status
Not open for further replies.

cuterita7

Programmer
Apr 8, 2008
10
GB
Hi,
How can I access DataRow.rowID? I see it in the variable window during debugging, but I'm not allowed to access it in my program.
dr := tblgestion.Rows.Find(gestvalue);
when debugging I see that dr has a ROWID of 5.How can I access the ROWID property?
Thanks.
 
Sorry - what kind of dataset? TADODataSet or TDataset or another kind?
 
I have a tableadapter and this tableadapter fills the dataset.My code is:
sqlCn := SqlConnection.Create(c_cnstr);
sqlDA := SqlDataAdapter.Create(c_selectgest,sqlCn);
dsPersons := DataSet.Create('Persons');
sqlDA.Fill(dsPersons);
tblgestion := dsPersons.Tables['Gestion'];
 
What data type is .Rows? If you type the code:

tblgestion.Rows.

and see what properties and methods appear - do any look like they will make use of the ROWID?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top