oToolBox.oGlobalStr.GetLogSeekStr(...). oToolBox now automaticly creates/attaches an instance of 'oGlobalStr' and executes the method called.
TblName = dbf(AliasName) && the AliasName variable has a valid alias from an open tabledoes not work. it errors "Alias Not Found".
>if Type("_screen.ActiveForm.DatasessionId") = "N" > CurrentDS = set("datasession") > CallingFormDS = _screen.ActiveForm.DatasessionId > if CallingFormDS <> CurrentDS > ResetDS = .t. > set datasession to &CallingFormDS > endif >endif>which also executes all the way through, however the above mentioned command is still throwing the same error. the form in question is active, the table is open with that alias, in the debugger the dbf() shows the correct result - i have no clue, can u not change ds 'on the fly' like this? are there 'easy' alternatives, do i do something wrong?
Define class myClass as Session Procedure Set_DS This.DataSessionId = _Screen.ActiveForm.DataSessionId ** or Set DataSession to _Screen.ActiveForm.DataSessionId EndProc EndDefineRegards