Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mikejcurtis

  1. mikejcurtis

    Values disappear from my combo box

    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.
  2. mikejcurtis

    Values disappear from my combo box

    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.
  3. mikejcurtis

    Values disappear from my combo box

    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...
  4. mikejcurtis

    Values disappear from my combo box

    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.
  5. mikejcurtis

    Values disappear from my combo box

    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...
  6. mikejcurtis

    Values disappear from my combo box

    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
  7. mikejcurtis

    Values disappear from my combo box

    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...
  8. mikejcurtis

    A basic coding syntax question.

    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...
  9. mikejcurtis

    In the form Wizard, what determines if "Show Position" works?

    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...
  10. mikejcurtis

    In the form Wizard, what determines if "Show Position" works?

    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...
  11. mikejcurtis

    Resizing Scroll bars

    Perfect! Thanks a lot!
  12. mikejcurtis

    Resizing Scroll bars

    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?
  13. mikejcurtis

    Can a Visual Foxpro application run in the Status Bar?

    I wonder if it's possible to make a Visual Foxpro application run in the status bar?
  14. mikejcurtis

    Updating a cursor from within a form.

    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...
  15. mikejcurtis

    Popuplating a form from a query

    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...

Part and Inventory Search

Back
Top