Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simulating Word's discrete page print option
Message
From
14/01/1999 15:29:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00175053
Message ID:
00176167
Views:
39
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform