|
-
August 30th, 2001, 02:25 PM
#1
DataGrid
Hi all
I have already send similar message to this forum earlier, and hadn't find out the solution yet.
Basicly i have to querry recordsets. First is connected to a DataGrid control. I use second recordset for editing particular records. Well, after data is modified, i first call second recordset's Update method and then first recordset's Requery method, to asure that both recordsets have the same data. Well the thing is that DataGrid control doesn't reflect modifications made in second recordset.
Well, thanks for reading such a long post, and thanks in advance for any answering, thinman
-
August 31st, 2001, 12:38 AM
#2
Re: DataGrid
it works fine here with a grid and a textbox connected to 2 data controls
perhaps you need to close and reopen the 2nd recordset after the update to flush a buffer - not likely but it's the only thing I can think of
-
August 31st, 2001, 03:04 AM
#3
Re: DataGrid
I'm using just one DataEnvironment designer, containing both querries!
Thanks, thinman
-
August 31st, 2001, 10:51 AM
#4
Re: DataGrid
Did you try DataGrid.Rebind or DataGrid.Refresh after rs.Requery? I didn't test yet, just an idea comes in my mind.
Regards,
Michi
-
August 31st, 2001, 11:50 AM
#5
Re: DataGrid
It doesn't work. I've already tried that.
I tried to set DataGrid.DataMember property to DataGrid.DataMember value. This is the only way to refresh data in DataGrid.
Thinman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|