Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi Column Grid ?
Message
De
05/04/2004 05:25:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892076
Message ID:
00892184
Vues:
17
>Hi.
>Anybody know of an easy way of displaying a Multi-Column grid.
>I have a grid which has only two columns that I want to display, but maybe has 40 rows.
>
>I would like all these to fit on ONE page. Displaying them Vertically wont fit, but if I could display a multi coulmn grid (as in 4 up labels say), it would fit on the page.
>
>I know I can probably do this programatically, but is there any property setting whichwill do this automatically ?
>
>Regards,
>
>Gerard

Gerard,
I'm not sure I understood but you mean something like one of these ? :
USE orditems In 0 again Alias t1
USE orditems In 0 again Alias t2
USE orditems In 0 again Alias t3
USE orditems In 0 again Alias t4
Select t1
Set Filter To Recno()%4=1
Set relation to ;
    Recno()+1 into t2, ;
    Recno()+2 into t3, ;
    Recno()+3 into t4
Browse fields t1.line_no,t1.order_id, ;
  t2.line_no,t2.order_id,;
  t3.line_no,t3.order_id,;
  t4.line_no,t4.order_id
USE orditems In 0 again Alias t1
USE orditems In 0 again Alias t2
USE orditems In 0 again Alias t3
USE orditems In 0 again Alias t4
Select t1
Set Filter To Recno()<=20
Set relation to ;
  Recno()+20 into t2, ;
  Recno()+40 into t3, ;
  Recno()+60 into t4
Browse fields t1.line_no,t1.order_id, ;
  t2.line_no,t2.order_id,;
  t3.line_no,t3.order_id,;
  t4.line_no,t4.order_id
With a grid those fields would be controlsources.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform