Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulating Word's discrete page print option
Message
De
14/01/1999 15:29:39
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
12/01/1999 11:21:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175053
Message ID:
00176167
Vues:
40
>>You mean, simulate this in VFP? You can do it by combining several REPORT FORM ... RANGE together.
>
>No, I need a routine that will parse a string that contains the same information and format.

I'll need it real soon now, too. I'd start with parsing it along the commas (or semicolons, they are default list delimiters , then see if there are hyphens in the chopped parts. Like this

For i=1 to words(lcString, ",;")
lcChop=wordnum(lcString, i, ",;")
if "-"$lcChop
lnPg1=val(wordnum(lcChop,1,"-")
lnPG2=val(wordnum(lcChop,1,"-")
else
store val(lcChop) to lnPg1, lnPg2
endif
do whatever with lnPg1, lnPg2
EndFor

Ummm... I'll use this for myself :)

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
Répondre
Fil
Voir

Click here to load this message in the networking platform