Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
hi,
ok, insert at plan 10:00, and i insert for every field(variable)
as hot , true....numbers as 2:00 and 3: when i sum all of them i get 10:00
way is false
any thanks.
best regards.
>IF nkeycode=13
> m.a=thisform.timeadd(thisform.timeadd(thisform.timeadd(thisform.timeadd(true,hot),balanc),mint),other)
> m.w=plan
> *? m.w
> thisform.text1.Value=m.a
> thisform.text3.Value=m.w
> IF m.a=m.w
>
>
> =MessageBox("true")
> &&&go to next record mygrid1.plan.text
> grdTable = thisform.Grid1.RecordSource
> SKIP IN (grdTable) &¬hng happend
> IF EOF()
> SKIP -1 IN (grdTable)
> ENDIF
> ELSE
> **************************************************
> You are saying that this is where you are always going and you never go into the True part of the IF. If this is what your saying then the IF m.a=m.w
>statement must be evaluating to False so we need to know the values in the variables m.a and m.w. I have no preference in what you call them its your app so if your happy with these naming conventions then fine.
>****************************************************************************
>
>
>=MessageBox("false")
> &&stay at the same record
> ENDIF
> thisform.Grid1.plan.SetFocus()&&&error message
> thisform.Grid1.Refresh()
>ENDIF
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement