Yes I did remove the LPARAMETERS statement. Man I'm really feeling like a pain here. I can't understnad what I'm doing wrong, It would seem this is a very common situation to need, one combo defining the choices for a second one. I'm mystified.
I tried to incorporate the changes suggested by ImagineCorp, but if I make lall a public variable, then put the code in as suggested above, I get an error about there being no PARAMETER statement.
Phoo. I did all that Imaginecorp, but it still behaves the same way. I can see the correct value in the table Datamaster.station, but when I bring up the form, the field is blank. If I Edit, then change the value for each row, it sticks as I navigate through the rows, but If I close the form...
Mile Lewis, they are both set to the default and the RowSource, 'temp' contains only a single field from the table Products. I thought maybe it was an alignment issue so I set the Alignment to Center, no difference.
The content is only displayed when first entered, whether it looks like it's a Character or Numeric value (It's actually only Character in both tables).
If I close the applicationa nd reopen it, the station combo is empty for all rows.
danfreeman: I added the requery to the InteractiveChange...
Now I'm noticing that if the content of the ComboBox is a text value, it's displayed. If it's numeric it is recorded in the database, but not displayed in the ComboBox. The data is defined as Character in both tables
The data is there when I browse table. The Rowsource and RowsourceType are set when the combo has GotFocus by calling the following Method:
LPARAMETERS lall
IF lall
SELECT DIST station as stationa,* from products into cursor temp READWRITE
ELSE
SELECT station as stationa,* from products WHERE...
This is kind of a funny thing to ask after the number of projects I've completed but, I'm self taught in Visual Foxpro. I'd like to be less ignorant and write code that conforms with what is common VFP format. Is there an online reference that discribes accepted naming conventions with code? I...
What seems to happen for me with my wee bit of expertise garnered over the past 25 years or so of very sporatic application development using everything from R:base to dBase III+, through all the versions of Foxpro, is the form designer gives me headaches I have to ask for help on getting out of...
I'm a pretty primitive coder in FoxPro, the main way I design a form is to use the Form Wizard to make a form, then I write code to make a similar form using the generated form as a model for placement of the various objects inside the form.
What ticks me off is that although I have the setting...
Is it possible to make scroll bars wider? I have an application that needs to run on touch screen computers with no keyboard or mouse. Some parts of the application need a grid control, but the scroll bars are too narrow for the likes of my users. Is it posible to make them wider?
I have a form with Comboboxes. I'd like the user to be able to either select content from the drop-down, or type an entry. I've set the RowSource to be the Alias I created and that works nice, except if the user tries to add a value not contained in the query. I can see that the DisplayValue...
Can you give me an example of how to add a value that doesn't appear in the dropdown for the combobox? I think I understand that I would check the DisplayValue and the Value for the box and if the Value is empty, and the DisplayValue is not, I add it to the the cursor, but I don't get how to add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.