Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid refresh
Message
De
23/06/2001 07:25:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/06/2001 06:46:35
Nicola Gotti
Produzioni Software Sas
Padova, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00521406
Message ID:
00522747
Vues:
16
>1. When grid's recordsource changes (I always tend to do this programmatically) I usually wrap the code that requery the grid's recordsource (let's say Table1) with a leading
> THISFORM.grdMyGrid.RecordSource = ''
>and an ending
> THISFORM.grdMyGrid.RecordSource = 'Table1'
>This way I preserve grid / columns settings that otherwise get lost.
>
>2. In Init() event of main form I coded:
> ...
> *- Set relation into Attachm for selected products lv_orditems.itemcod
> SET ORDER TO TAG Item IN Attachm
> SET RELATION TO itemcod INTO Attachm IN lv_orditems
> ...
>
>3. I only bind Attachm table field item to a grid column. Other grid columns are binded to lv_orditems fields. No other controls in the form involves Attachm nor lv_orditems fields.

Nicola,
PMFJI. With relations active and grids on form if you call refresh from a child grid be sure to select parentalias explicitly. This is a known issue for grids :(
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