Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with refreshing data in a form
Message
De
08/09/2003 03:31:52
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/09/2003 02:42:51
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00826983
Message ID:
00826994
Vues:
23
>Hi all!
>I have two tables:
>
>Ships
>-----
>ID
>ShipName
>
>Projects
>--------
>ShipID
>ProjectName
>
>and relation between them: Ships -> Projects on ID=ShipID
>
>Also I have data-editing form. One text field (Text1) on it has a ControlSource property set to "Ships.ID" and another read only field (Text2)with "Projects.ProjectName" ControlSource property.
>
>When I change the value of Text1 field, value of the Text2 field stays the same. When I do the same one more time, value of Text2 changes. I tried Text2.Refresh and Form.Refresh methods but it didn't help.
>
>Table "Ships" is in the optimistic table buffering mode.
>
>What's the problem? I don't know. I need some help.

Eugene,
Your problem might be related to where you're refreshing it. Try to add :
with this && Text1
 .Value = .Value
endwith
Before refresh.
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