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
RadioDon
here is the code
SELECT B
IF !thisform.utility1.netuse(mdatapath+"FILE14",.F.)
RETURN
ENDIF
SET ORDER TO 1
Thanks in advance.
CYBURT
Hazlitt
yes thanks for your answer.
JEsraelo
hm ic becoz my company use this class netuse to detect the table is open or not
thanks in advance.
qjd101
> 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.
DuvallBuck
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.