Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in running form
Message
 
À
04/11/2005 12:15:59
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01065508
Message ID:
01065530
Vues:
16
Where you put this code?
If you put this in CommandGroup, CommandGroup has no Value as property. if you put it in some Form method Form also has no Value property.
That line is wrong
this.value.enabled=.f.



>Hello experts,
>
>I am new in form designing and facing problem. I have created a form using commandgroup. and written the code as follows:
>
>
>LPARAMETERS cName, cClass
>
>do case
> case this.Value = 1 && first button is clicked
>
>
> *CASE COMMAND1
> this.value.enabled=.f.
> mdate=ctod("  /  /  ")
> issue.text1.value=""
> issue.text2.value=""
> issue.text3.value=""
> issue.text4.value=""
> issue.text1.setfocus
> issue.text1.value=mdate
> *****************************
>
>*=========================
>case this.Value = 2 && second button is clicked
>
> issue.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))
>
>
> *----------------------
>case this.Value = 3 && second button is clicked
>
> close all
> quit
> endcase
>
>
>I named command1 as add,command2 as save and command3 as quit. While running thr form I am getting the error message, 'unknown member value.' Please help me.
>
>
>Chandan
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform