Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid acts crazy when table used exclusive
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00209160
Message ID:
00209163
Vues:
16
The key is not to reset the recordsource. This is what causes you to loose all the properties of the grid. Try just zapping and refreshing the grid. If that won't work, maybe DELETE ALL and PACK. If that doesn't work, just DELETE ALL and make sure DELETED is set on.

>1. I have a form class with a grid. All the grids properties are set at design time. The user wants to be able to "zap" the grid and start over doing input. Because of missing information or other delays the user can not always finish there input. After the input some processing is done and the resulting data is uploaded to a mainframe. If the upload "blows" the user needs to go back and correct the grid or clear it and start a clean input. I have tried to set the table exclusive, zap it, reset the recordsource from a button on the form. This leaves the columns the size of the field and not the original width (which is wider). If I call a method to reset the widths, I get a column unknown error.
>If someone knows how to set a table exclusive, zap it with out loosing the grid or its appearance and having to write tons of code to reset the properties, it would save me from committing Hari-Kari. I have spent way to much time for this aggrevation.
>Help...please, Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform