Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which library holds the oVPMDataHandler?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01419089
Message ID:
01419093
Vues:
44
>Hi everybody,
>
>I need to change DataChanged method of oVPMDataHandler. Do you know where this library is?
>
>Thanks in advance.
>
>UPDATE. Found it - ProdataHandler.vcx

I see the base class code and unfortunately if I want to re-write it I would have to copy the current code, implement my change and update.

Would be much easier to handle the problem if this direct code in the DataChanged method

NOT ISNULL(GETFLDSTATE(-1,slcAdditionalAlias)) AND ;
('2' $ SUBSTR(GETFLDSTATE(-1,slcAdditionalAlias),2) OR ;
LEFT(GETFLDSTATE(-1,slcAdditionalAlias),1) = '3')

would be replaced with some extra method, say, IsRecordChanged() returning this line. Then I would just need to change IsRecordChanged method without a need for copy/paste the whole method's code :(
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform