has anyone come across the current work area (alias()) changing apparently
at random? - here is sample code:

* myform.someButton.Click()
SELECT curMembers
* snip myform property setting code
TRY

thisform.Pframebase1.Page2.NewObject('Gridouter1','Gridouter','mmclasscode.prg')
CATCH TO oException

* ...
PROCEDURE Init  && mmclasscode Gridouter.init

   PARAMETERS pcTablename, pcClass, pcClassLib
   * parameters not used in this example
   LOCAL cRowClass as String, cErr as string

   WITH THIS
   IF TYPE('pcTablename') = 'C' AND  NOT EMPTY(pcTablename)
      .Table = pcTablename
   ELSE
      .Table = ALIAS()
   ENDIF
*
* nine times out of ten .Table = 'curMembers' at this point
* the tenth time it is another cursor

Andrew Davies  MBCS CITP
  - AndyD        8-)#



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to