Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Steve Dingle
  Where is Steve Dingle?
 Weybridge
 United Kingdom
 Steve Dingle
 To: Borislav Borissov
  Where is Borislav Borissov?
 Sofia
 Bulgaria
 Borislav Borissov
 Tags
Subject: RE: Data Explorer - oParam.BrowseData (ER?)
Thread ID: 189102 Message ID: 189118 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Sedna
Date: Wednesday, August 13, 2008 1:01:42 PM         
   


> Did you try it?

Didn't need to, have done it many times, but that doesn't accomplish what I want. Sorry maybe I am not explaining properly. In data explore you can change what happens when you select a menu option, like Browse, by making changes to a script. The default script is...

LPARAMETERS oParam
oParam.CurrentNode.BrowseData()


This is great functionality IMHO but, always wanting more :-), as you can image .BrowseData() is doing a lot more than BROWSE, it is connecting to data, creating cursor etc... so what I could really use is...

LPARAMETERS oParam
IF oParam.CurrentNode.GetData()
   DO FORM MyBrowseForm
ENDIF


...or something similar. Again I don't want to override the default Data Explorer behaviour for getting the data, just browsing it which is why I 'think' it's an ER. In looking at the source code I don't believe there is a way for me to hook in as it seems in the OnBrowseData method of the DataMgmt object is geting the data and showing the browse form but figure I would post in case I was missing something

Thanks,
Steve Dingle
http://weblogs.foxite.com/SteveDingle/
www.dsbusinesssolutions.co.uk

ENTIRE THREAD

Data Explorer - oParam.BrowseData (ER?) Posted by Steve Dingle @ 8/13/2008 12:14:30 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Borislav Borissov @ 8/13/2008 12:21:38 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Steve Dingle @ 8/13/2008 12:35:36 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Borislav Borissov @ 8/13/2008 12:44:51 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Steve Dingle @ 8/13/2008 1:01:42 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Rick Schummer @ 8/13/2008 2:52:54 PM
RE: Data Explorer - oParam.BrowseData (ER?) Posted by Steve Dingle @ 8/13/2008 3:49:53 PM