Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Adventures in VFP3
Message
 
À
13/01/1999 13:34:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00175585
Message ID:
00175635
Vues:
30
Is there parent child relationship in the form? If so how is the relationship handled (parameterized view, grid, or dataenvironment)?

Are you sure that the cursor has the correct records in it?

>I have a grid bounded to a small cursor (about 5-6 records).
>SET DELETED is ON.
>I refresh the grid after each APPEND and DELETE.
>
>1. I add few (let's say 3) records (append blank). The grid is OK and refreshed properly.
>2. I delete all 3 records, one by one. Grid refreshes ok. After deleting the first record, recno() goes to 3 (i.e. eof). The grid is empty as it supposed to be.
>3. I APPEND BLANK another time (that would be record # 4). After refresh, the grid still does not show the new record! However, recno() is 4, vertical slidebar moved a little bit, but, again, no sign of the new record. DoScroll(), mouse dance and headache medicine dont help...
>4. If I add another record (adjacent to rec.#4), after refresh I see BOTH records. As long as I have at least one non-deleted record, everything goes fine. But if , God forbid, I delete everything, the grid goes blind.
>Once again, this is VFP 3.0b.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform