Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textboxes and values...
Message
De
23/12/1999 11:52:10
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00307522
Message ID:
00307973
Vues:
25
>maxlength on both textboxes are 0 so its not that ut how could i do this? form2.text1.value = form2.text1.text + form1.text1.text
>.......should this work? is there any syntax errors in that?

David,
MaxLength = 0 just means there is no limit to the length of text you can enter into the box. I think your problem is trailing spaces in text1.

For example:
Text1.Value = 'David '
Text2.Value = 'Fluker '
Text1.Value + Text2.Value = 'David Fluker '
If I put this in Text2.Value, it looks like Text1 has written over Text2 because I cannot see the "Fluker". I can click on Text2 and scroll right to see the rest of the value.

To fix this you need to trim the extra spaces with something like
Text2 = ALLTRIM(Text1) + ALLTRIM(Text2)
or
Text2 = Text1 - Text2

David.
David.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform