Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lookups
Message
From
28/12/1999 20:45:00
Victor Chigne
Inteliventas
Peru
 
 
To
28/12/1999 19:39:29
General information
Forum:
Visual FoxPro
Category:
Visual FoxExpress
Title:
Miscellaneous
Thread ID:
00309559
Message ID:
00309630
Views:
26
>>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
Map
View

Click here to load this message in the networking platform