Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relating a view to a table control source
Message
De
03/09/2010 13:19:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01480034
Message ID:
01480046
Vues:
31
>If you use different sources for the grid and for the form's controls, then you need to search for the right record yourself when you navigate through the grid, e.g. assuming grid's recordSource is vMain with PK as Primary field and PK is the primary field in the MainTable
>
>if seek('vMain.PK', 'MainTable','PK')
>   * this should always happen
>    thisform.refresh()
>else
>   * we have record in a view which is not in the main table - investigate why
>endif
soo
i'm going to have to get add new keys to use as primary since my regular keys apprantly arent pulling it off
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform