>>>i have this code but i believe that is correct then when i run it, there is an error code 1924...this is my code..
>>>
>>>do form C:\LibrarySystem\Form\transaction
>>> transaction.pageframe1.page1.enabled = .t.
>>> transaction.pageframe1.ActivePage=1
>>> transaction.pageframe1.page2.enabled = .f.
>>> transaction.pageframe1.page3.enabled = .f.
>>>
>>>i attach image for the error...
>>>thank you...
>>
>>Try
>>
>>do form C:\LibrarySystem\Form\transaction name Transaction
>>
>>your code follows.
>>
>>Name clause is needed to be able to reference this form.
>
>
>i really appreciated the reply..
>but unfortunately, it also doesn't work..
>it always tells the error code 1924...
>i cannot find where is the error
Try using a different name for the form, say,
do form .. name frmTrans
and use this reference to change properties.
Also, why do you need to do this outside the form? Why not pass a parameter that will control form's behavior?
If it's not broken, fix it until it is.
My Blog