Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetValueForField
Message
De
09/05/2008 19:04:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
GetValueForField
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01316187
Message ID:
01316187
Vues:
53
Hi,
I created a virtual table to call stored procedure. I also created a calc field SaleSummarydatefromdateto.SoldToTypeID in this table and specified Value Method to call GetSoldToTypeDescr().
In data access script, I have code to GetValueForField as below

loValues = toApplication.DataEngine.GetValuesForField('SaleSummarydatefromdateto.SoldToTypeID', ;
'equals')

When I run my report, filter dialog prompted a textbox with value 'ZERO' (since this is surrogate key) and Values button. I clicked on Values button and it shows Description of all record of my FK table.

1. After I select any value from value popup, textbox is not refreshed.
2. How does stonefieldquery know what surrogate key value to be returned?

Please advice.
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform