Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid becomes blank after a tableupdate
Message
 
 
À
05/03/2002 11:21:23
Anthony Yates
Great Lakes Solutions, Inc.
Grand Rapids, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00628120
Message ID:
00628863
Vues:
20
Hi!

Just as I said - put SET STEP ON in the BeforeRowColChange event of the grid, run the form, reach the moment when you press "ADD" button. THen press "ADD" button and wait till program stops in that event. Open the Call Stack debugger window. You will see the chain of procedure and event calls. Just click on the procedure called BeforeRowColChange event. You will see exact line of code that caused grid reconstruction. It might be a trigger or other stored procedure or some functions that runs during updating/inserting of data as trigger or as function for default field values/field validation.

HTH.

>I have a add button and textboxes on the upper portion of the form. The grid is in the lower half.
>
>When the add button is pressed it adds a record and does a tableupdate() right after executing this command the grid becomes blank, but before the command the grid only contains the new record.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform