Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commanding pages
Message
From
17/07/1998 10:03:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00117842
Message ID:
00118573
Views:
17
>SCAN FOR trips.igroup = thisform.group
>...lcPageName = "Page"+str(i)
>...WITH thisform.tsPageFrame1
>..... .AddObject(lcPageName,"TripPage")
>..... .pages[i].RecordNo = RECNO()
>..... .pages[i].caption = trips.cname
>...ENDWITH
>...i = i + 1
>...SELECT trips
>ENDSCAN
>thisform.refresh
>
>.AddObject(lcPageName,"TripPage") gives me a syntax error, but it does it anyway.

lcPageName = "Page"+ALLTRIM(str(i,3,0)) should do the trick.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform