Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cbo Box Virtually Blank, But Not Really!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Cbo Box Virtually Blank, But Not Really!
Miscellaneous
Thread ID:
00163184
Message ID:
00163184
Views:
68
I have a Combo box, cboPattern, with the following Properites:

RowSource = VPMMold.dbf (a table with Mold Pattern #'s and INDEXed by Mold Pattern#)

ControlSource = mPattern (an mvar that eventually gets written to a daily mold production dbf file)

In testing to see if it was bulletproof, I noticed something that seems strange:

After entering a Mold Pattern# in the cbo, or selecting from the cbo DropDown List, you can go back into the cbo and delete all the text. Then what occurs is that VPMMold.dbf, the RowSource, GOes TOP (even though I didn't tell it to do so in any of my user procedures). Also, the cbo box is left blank (at least it appears that way to the user). When you attempt to click on the cmdSave which I have on the form, all the mvars are written to the mold production dbf file, even though the cbo box 'appears' to be blank. This is not the desired operation I wanted. In the cmdSave.Click, I check for the cbo being blank, and then cause the user to go back and fill it in. But in this case, even though it appears to be blank, it's not really blank. I'm in need of help and would appreciate it very much. Thanks, CWH.
Chuck Henry
Next
Reply
Map
View

Click here to load this message in the networking platform