Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing
Message
 
 
To
26/06/2009 08:31:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01408583
Message ID:
01408607
Views:
61
>>I have created 2000 records with starting no 32000 to 34000 and I have designed "print.scx" in that i have placed three text boxes namely 1. txtstart 2.txtend 3. txtpageno and two command button namely 1 cmdprint 2. cmdexit. I have enterd starting printing no in txtstart and ending no in txtend and press tab the particular pageno of printing records is display in txtpageno, let assume if I have enterd 32001 in txtstart and enterd 32025 in txtend means the page 1 is display in txtpageno or if I have enterd 32026 in txtstart and enterd 32050 in txtend means the page 2 is display in txtpageno like this.
>>
>>How to write code?
>
>Simple math , simple elementary school math.
>
>floor((thisform.txtStart.Value - 32000 - 1) / 25 ) + 1

Using magic numbers?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform