Re: View updated data in recordset
- From: "Mark J. McGinty" <mmcginty@xxxxxxxxxxxxxxx>
- Date: Tue, 14 Mar 2006 15:42:06 -0800
"Ella" <ellakayeekwan@xxxxxxxxx> wrote in message
news:1142372468.196001.258600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a grid that has the datasource bind to a recordset.
grid1.DataSource = goRs
When I use the goRs add a new record, I can see the record immediated
shown in the table.
When user click on the grid, a dialog pops up for updating the value on
that row. However, I don't know which record the user selected on the
table. Is there a way to find out which record the users selected?
The best way I know of is to use a clone of the recordset that's bound to
the grid. You can then use the grid's bookmark property to position the
clone.
-Mark
Or I am trying to use an alternative way. I created another recordset
using the unique ID for updating. However, the updated data does not
shown on the grid even I call goRs.Update and re-set grid1.DataSource =
goRs. What command I should use to let the goRs pick up the latest
update?
I think the first solution is proper. If I know which record to update
then the new information must be refreshed on the grid... I think.
However, I have to know which record to update... Please help. I have
been stucked on this problem for a while.
For some reason, I cannot close the recordset.
Thanks,
Ella
.
- References:
- View updated data in recordset
- From: Ella
- View updated data in recordset
- Prev by Date: Re: ActiveX control to play avi / wmv file?
- Next by Date: Re: View updated data in recordset
- Previous by thread: View updated data in recordset
- Next by thread: Re: View updated data in recordset
- Index(es):
Relevant Pages
|