Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optiongroup class 'is class member' problem
Message
 
 
To
01/05/2009 15:51:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01397514
Message ID:
01397526
Views:
28
>>>I created optionGroup class with 3 Options.
>>>In a table I associated an integer column with that optionGroup.
>>>When I drop the field on a Form from the table in the dataenvironment I get the warning "member xyz is a member class"
>>>
>>>But if I change the Option number in the class from 3 to 2 it works without problem.
>>>
>>>What causing that error?
>>
>>I don't think it's a good idea to associate a field with some class when you design your table /database. Can you remove the mapping in table designer and see if the error goes away?
>
>I don't understand why it is a bad idea. I use it all the time.
>It works perfect with 2 Options but give me that error with 3 Options.

Ok, just for this one then remove it. I personally don't use the field mappings, but I'm not sure if I can quickly figure out why it is really a bad idea to use them, may be someone else can chime in.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform