Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form displays first record
Message
De
23/08/2000 16:59:57
 
 
À
23/08/2000 16:57:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00408505
Message ID:
00408508
Vues:
16
>When select new from the menu the ADDFORM always come up displaying data for the first record and not blank fields.

> LOCAL lmani_code
> SELECT manifest
> lmani_code = THISFORM.PAGEFRAME1.PAGE1.txtMan_no.VALUE
> *-- Delete any empty line items
> DELETE FOR EMPTY(mani_code)
> DO FORM ADDMAN WITH lmani_code
> thisform.pageframe1.page1.grdManifest.Refresh()
> thisform.pageframe1.page1.grdManifest.SetFocus()
>
>Form ADDMAN.INIT is as follows:
> LPARAMETERS tcMani_code
> APPEND BLANK
>
> thisform.cntmanifest1.txtEntry.Value = tcMani_code
> THISFORM.cntmanifest1.txtBlNo.SETFOCUS()

Try a this.Refresh() in the Init() after the APPEND BLANK
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform