Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inline in grid editing
Message
De
06/01/2012 07:51:07
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01532229
Message ID:
01532278
Vues:
54
Off the top of my head...

Create a form called MemoEditor. Make it modal and set it's DataSession to Default.

Pass a parameter with the field name to the Init, then set the Editbox.DataSource to the parameter.

When you call the form in the button: DO FORM MemoEditor WITH "MyMemoField"


That should be all that's required.


>I am having a problem with this container control. When I change the value, it seems to show the same value for all records. I have textbox and a button. In button's code I put this code
>
>MODIFY MEMORY (this.Parent.lngField)
>this.Parent.txtLanguage.Value = SUBSTR(EVALUATE(this.Parent.lngField),1,240)
>
>Sparse for the column is set to .F.
>
>Now, every time I change a value using the button, I get all records in the grid to show the same value...
>
>Do you know how to fix this?
>
>Thanks in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform