dear all,
i have a class to detect table open exclusive or not in my project.
when i put my code at load event it prompt me unknown my class.
but when i put it at init event it run normally.
thanks in advance.
dear all,
i have a class to detect table open exclusive or not in my project.
when i put my code at load event it prompt me unknown my class.
but when i put it at init event it run normally.
thanks in advance.
class called
Vasco Veiga
So what is the question really In load objects are not inited yet. In init it's there (form.init runs after all others are inited).
Why do you need such a class BTW VFP has Isexclusive() function.
i need help!
Zharadan
hm ic becoz my company use this class netuse to detect the table is open or not
thanks in advance.
n4cer
here is the code
SELECT B
IF !thisform.utility1.netuse(mdatapath+"FILE14",.F.)
RETURN
ENDIF
SET ORDER TO 1
Thanks in advance.
MaFrederiksen
> IF !thisform.utility1.netuse(mdatapath+"FILE14",.F.)
At form.Load() time the utility1 object has not been created. At Form.Init() time all of the contained objects will have been created.
knln ravi shankar
yes thanks for your answer.