Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frustration with private dataset not saving
Message
De
18/10/2010 16:13:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Divers
Thread ID:
01486018
Message ID:
01486023
Vues:
98
>
>PARAMETERS l_check
>
>* l_check values
>* 1 = yes
>* 2 = no
>SET STEP ON
>
>thisform.pageframe1.page1.tol_no.Value = 0
>thisform.pageframe1.page1.tol_yes.Value = 0
>
>
>IF thisform.isloading AND thisform.isediting then
>	l_check = VAL(jcpmt.tolerance)
>ELSE
>	replace jcpmt.tolerance WITH ALLTRIM(STR(l_check))
>ENDIF
>	
>IF l_check = 1		&&yes
>	thisform.pageframe1.page1.tol_yes.Value = 1
>ELSE
>	thisform.pageframe1.page1.tol_no.Value = 1
>ENDIF
>
>thisform.pageframe1.page1.tol_yes.Refresh
>thisform.pageframe1.page1.tol_no.Refresh
>
>
>the replace command sometimes just doesn't update the table....what am I missing here?
>
>thanks in advance!

Let's try with usual suspects first. In case you're sitting on an alias which is at eof(), the replace won't take place... unless
replace jcpmt.tolerance WITH ...whatever... in jcpmt
which circumvents that.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform