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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetDataMember event not firing in Data Provider Class

Status
Not open for further replies.

DeeBo

Programmer
May 13, 2000
1
CA
I have a class that is performing the dual duty of data provider and consumer. It was performing o.k. when I had it handling on one data source ( a query accessing 2 tables- could not get both tables updated - another problem). My main problem occurs when I added a second datamember to the class. When ever i request a change in datameber the GetDataMember Event which provides this change does not fire or fires with an empty string. ( I have ensured that I requesting a valid datameber from the event). It is my understanding that a call to a bound object will trigger the<br>&nbsp;GetDataMember event&nbsp;&nbsp;i.e. cbooCourses.RowMember&nbsp;&nbsp;&quot;AllCourseInfo&quot;, <br>however tracking through the debugger it passes this line without firing the event. To that end I have tried to force the event to fire by exposing the datamemberchanged method through a read only public Let, to no success. I am fairly certain I am doing the correct setps, I have doubled checked in the books I am consulting (Deborah Kurata's Doing Objects with VB6 and Franco Belenas VB6 Programming) however there examples don't quite cover my problem. <br>Any Thoughts????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top