Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Load speed
Message
De
09/04/2002 04:25:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/04/2002 02:12:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00642483
Message ID:
00642512
Vues:
13
>Hi Guys,
>
>I have a form containing a pageframe than consist of 67 pages. Each pages has specific collection of controls like grids, textboxes, editboxes, combobox etc. I also have 67 tables that corresponds to each page. My question is if I have to use the tables in the load event of my form, without re query, will it affect the speed of the form?
>
>Your advice and suggestions will be greatly appreciated....
>Thanks in Advance....

Mike,
Opening of 67 tables has much less impact on speed than creation of objects on 67 pages. (Try with a backup of original as always)
-Create a class for each of your pages (Select controls there and saveas class)
-Also include opening/requerying of table in class
-After creating each class delete objects on page and in Page.activate code :
if type('this.ClassNameForPage')#'O'
 this.NewObject('ClassNameForPage','ClassNameForPage','ClassLibName.vcx')
 this.ClassNameForPage.Visible = .t.
endif
You might need some enhancing in code.
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