Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetValueForField
Message
From
09/05/2008 19:04:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
GetValueForField
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316187
Message ID:
01316187
Views:
52
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...
Next
Reply
Map
View

Click here to load this message in the networking platform