Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting value from a table opened in a different DS
Message
De
11/03/2010 03:52:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01453599
Message ID:
01453864
Vues:
37
>>>>In your form, do the following code:
>>>>
>>>>MainapplicationObject.NEWOBJECT("Datamapper","Datamapper","LibraryWhereDatamapperexist")
>>>>MainapplicationObject.Datamapper.Aliasname = ??? *you should know the aliasname here.
>>>>MyValue = MainapplicationObject.Datamapper.GetValue("MyField")
>>>>
>>>>
>>>>What do you think?
>>>>
>>>
>>>Yes, I like the idea - looks like it will work well - how this design pattern is called?
>>
>>
>>Oh my and you were saying that wouldn't touch application object class anyway:) You succeeded to confuse me.
>>Cetin
>
>This method doesn't require any changes of the existing method's code in the application object.

Really? I would like to see the code that works out such a magic.
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