Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manipulating data with objects
Message
 
À
21/07/2000 10:09:56
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00395398
Message ID:
00395440
Vues:
10
Jimmy,

Here's what is happening in your code;

Thisform.C1.Visible = .F.
Thisform.T1.Visible = .T.

* Ok now the right controls is visible

clear

* Don't know why you are clearing here.

ThisForm.Text1.value = ""

* You've just blanked out the controlsource for the current record

DBSETPROP('intrancust', 'view', 'Tables', 'Tomparco!inventory')
DBSETPROP('intrancust', 'view', 'SendUpdates',.T.)

* You shoudln't need these lines as you have already set the properties in the previous code

APPEND BLANK


Try doing things this way instead;
Thisform.C1.Visible = .F.
Thisform.T1.Visible = .T.
APPEND BLANK IN YourViewAlias
ThisForm.Text1.Refresh()
Also, use the complete set of arguments in TableUpdate(), not using them all can cause the tableupdate to occur in the wrong work area on you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform