Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing
Message
 
 
À
26/06/2009 08:31:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01408583
Message ID:
01408607
Vues:
60
>>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform