hello fp world:- a message from our sponsor:
Has anyone come across this - I have some code where just occasionally the alias() gets changed:

** myform.someButton.Click
SELECT curMembers
* snip some set form properties code
TRY
thisform.Pframebase1.Page2.NewObject('Gridouter1','Gridouter','mmclasscode.prg')
CATCH TO oException

** mmclasscode gridouter.init
PROCEDURE Init
PARAMETERS pcTablename, pcClass, pcClassLib
* parms 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 at this point .Table = 'curMembers'
*** - the tenth time it is a different (existing) cursor name


Andrew Davies  MBCS CITP
  - AndyD        8-)#