Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a checkbox to display deleted records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01446020
Message ID:
01446391
Vues:
112
>In the property sheet for the checkbox enter "=DELETED()" wihtout the quotes for the controlsource property.

Could not get this code accepted into the controlsource. Tried all sorts of variations. Always got an error message "The data source for this object must be a variable reference" immediately after trying to enter this code in the countrolsource.

Eventually found that entering the following code in brackets was finally accepted by the controlsource of the checkbox.
(deleted())
This now works, and the ticks are in sync with the deleted records.

However, there is a new problem, because now every time you check or uncheck the checkbox, you get a warning bell and a status bar message "The record is read only". The deleting and undeleting works perfectly. But the bell and message are the problem now.

regards
David Wheeldon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform