>yes I have used the command in commandgroup.
>
>By enable=.f., I want to disable other command buton in commandgroup. Please tell me what is the correct code.
Put this code in click event of command1 button
This.Parent.command2.Enabled = .f.
mdate=ctod(" / / ")
issue.text1.value=""
issue.text2.value=""
issue.text3.value=""
issue.text4.value=""
issue.text1.setfocus
issue.text1.value=mdate
Put this code in click event of command2 button
This.Parent.command1.Enabled = .f.
insert into chequett(date,acno,cheque,cheque1);
values(val(issue.text1.value),val(issue.text1.value),val(issue.text1.value),val(issue.text1.value))
....
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst