Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting a line in a grid-display problem
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Deleting a line in a grid-display problem
Divers
Thread ID:
00146988
Message ID:
00146988
Vues:
59
I have a grid that's giving me trouble.(recordsource is cursor/controlsource is cursor's fields)

Whenever I delete the first record from the grid and no other records exist in the grid, the line disappears but then when I INSERT a new record into the grid the row is blank-the grid doesn't show the record- but the record in the cursor exists. Only when I INSERT another record does the grid show the first record and the secord record, the first one was invisible(a calculation to a sum column gives me a correct value so I know the record is there but invisible).

I refresh the grid after INSERTing a new record and I refresh after DELETEing the record. I only get this problem if the record is the first row in the grid. When other records exist, I have no problems INSERTing or DELETEing records in the grid.
Can anyone assist?
Any help would be appreciated.

If it's not to much trouble I had another question...what's the code to have a combobox open automatically when it receives focus?
Thanks, Jerry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform