Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WizStyle
Message
De
03/09/1998 06:09:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00132678
Message ID:
00132685
Vues:
14
>Can anyone suggest how to subclass Wizstyle and modify it to allow carring forward info from previous record in a form when useing the txtbtns.vcx part of Wizstyle?
>I have tried numerous things, but nothing work correctly, even Set Carry On ( of course, I may not be adding it in the right area).
>
>TIA,
>Dan
Dan,
This one worked :
cmdAdd.click code modified
scatter memvar memo
dodefault()
if this.parent.editmode
*        m.primaryfield = m.newkeyvalue && Change primary key value
	gather memvar memo
	thisform.refresh
endif
But beware it plays with set("fields") so ensure that you at least change the unique id values (primary key field).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform