Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing
Message
De
26/06/2009 08:31:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/06/2009 07:01:59
Muthu Vel
Sty Company
Inde
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:
01408605
Vues:
68
>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

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform