General information
Category:
Visual FoxExpress
>>Hi Guys
>>
>>Have a Lookup program here
>>
>>I have a View with a field which is a Lookup.
>
>
>What is a lookup?
Is a table or view defined in the VFE data dictionary, wich is used to validate a field.
>
>>I run the app select a value from the Drop-Down for that field.
>
>What is the dropdown for that field? Is it bound to that field? What is the combo's rowsource?
Is a class (icombobox) defined in the VFE DD for that field. The icombobox class has a ofield property wich stores an object description of the field, so no field is bound physically to the icombobox. It allows to separate business objects and presentation objects in a 3 tier design.
>
>
>>When I save, the field that is the Update expression is not
>>getting saved.
Check:
a) The replace expression in the lookup definition. It should be the PK of the related table, fully qualified.
b) The type of the field. It should be the exact same data type and lenght of the replace expression in the definition of the lookup.
>How are you saving?
Using the PO save method
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only