Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox next line
Message
De
06/09/2007 14:21:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01252832
Message ID:
01252843
Vues:
20
Nick,

please make your messages readable by setting the number of characters per line.

>Thanks Beth, I'm going to try that, but I have run into another problem. I did a sample messagebox and kept getting errors that my "variable msgstr is not found". Here is the sample:
>
>
>LOCAL msgstr,crsprod,whsamt,tqpu
>msgstr = ''
>crsprod = 'product1'
>whsamt = 2
>tqpu = 1
>
>crtstr = "You don't have enough "+ALLTRIM(crsprod)+" Product in the inventory. You are trying to deliver "+STR(whsamt)+" and you only have "+STR(tqpu)+" inventory in stock. Please click 'None' in the option or reduce the amount you are trying to deliver in the 'WHS Qty' column"+CHR(10) + CHR(13)
>msgstr = msgstr + ALLTRIM(crstr)
>
>
>crsprod = 'product2'
>whsamt = 5
>tqpu = 4
>
>crtstr = "You don't have enough "+ALLTRIM(crsprod)+" Product in the inventory. You are trying to deliver "+STR(whsamt)+" and you only have "+STR(tqpu)+" inventory in stock. Please click 'None' in the option or reduce the amount you are trying to deliver in the 'WHS Qty' column"CHR(10) + CHR(13)
>msgstr = msgstr + ALLTRIM(crstr)
>
>
>
>MESSAGEBOX(msgstr,0,"Warning, correct the delivery inventory amount")
>
>
>
>thanks
>Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform