Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1130-field phrase not found
Message
From
25/10/2002 15:14:46
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
25/10/2002 11:39:36
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00714830
Message ID:
00715602
Views:
26
OK, this is starting to make more sense now.

From the way you describe your error message, it sounds as if the global variable isn't defined when the ComboBox.Init() fires.

Remember, the controls on a form Init before the form does, so make sure you've got that variable definition timed properly.

Another question, though. Why are you using a variable as the ControlSource? Are you eventually storing the bound value somewhere? If so, I would suggest storing it directly into the appropriate updateable view. Then, as long as that second view is available when the ComboBox Inits, everything should "just work."

Hope that helps,
---J

>Sorry, I would like to correct my first email. My RowSource is taken from a field in a view. I followed what you told me display its value by eval(). It was able to display the value of the record where my record pointer is. I think it's fine. I am using 2 columns in my combobox but I am only displaying the 1st field.
>
>Bound Column 2
>Column Count 2
>Bound (checked)
>
>My ControlSource however is not a field but a global variable that will store the returned value of the 2nd column of my combobox. What is the problem in setting the controlsource in this way? I tried not to have any ControlSource at first but I cannot choose any value in my combobox when it was drop-down. It seems that using a combobox is harder to use than I thought.
>
>Thanks a lot again.
>
>Nerissa
Previous
Reply
Map
View

Click here to load this message in the networking platform