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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: spuppett
  • Content: Threads
  • Order by date
  1. spuppett

    Controls Not 'auto-binding'

    I made a form with a grid on it (just to test this out). On the form's load I use a table and the grid automatically populates with data. Is there a way to turn this off. I didn't change any of the properties for either the form or the grid. I apologize that this is a ridiculesly basic...
  2. spuppett

    Grid Woes

    VFP (6.0) isn't making much sense to me today (or ever, really). I have a legacy prg I'm adding to. I've added a grid to a form with 2 columns, and a combo box to that grid in the first column. I need to populate the combo box with a list from a table. There are 3 items in the DB right now...
  3. spuppett

    Grid Woes

    I'm still pretty new to VFP but not to programming. I have to add on to a legacy program and am having a heck of a time with a grid. I set it up with the recordSource, all the columns have their controlSource's property set. On the form are a few textboxes and a 'Search' button. When I click...
  4. spuppett

    Inserting Images ADO

    I'm trying to insert an image into VFP 6.0 using ADO in VB. I don't have a clue how to go about it. Should my field in the table be a Memo(binary) or General? Any ideas or where to start looking would be a HUGE help, Thanks.
  5. spuppett

    File Not Found when exiting exe

    I have an app that was made in 6.0. For some reason now, when the app gets closed, I get "File Not Found". The only code that gets run on File->Exit is CLEAR EVENTS. I've tried rebuilding the app about 10 times and always the same thing. The rest of the app seems to run fine. Any ideas?
  6. spuppett

    Form object not found

    I'm using VFP 6.0 I have a form that I open up from a program. DO FORM frmAudit When I get to that section in the code, I get an error saying: If I cancel the error and exit out of the form and re-run the entire program, it will work just fine, or if I run the form from the command window...
  7. spuppett

    @ x,y SAY ... Divide by 0 error

    I recently installed a beta for VFP 9 on the same machine running FP 2.6 and VFP 6.0. The beta wouldn't run, said something about beta time had expired, so I uninstalled it. I have a pretty important program that runs on 2.6, but it won't finish running. We've track the problem down to '@...
  8. spuppett

    Reuse key value of deleted index key on un-packed table

    I'm maintaining an old VFP 6.0 company phonebook program. One of the IT guys was wondering if it was possible to re-use an employee id (not really an employee id, but for the sake of the program, thats what it is) after an employee 'leaves'. What has to happen now, is the IT guy has to wait...
  9. spuppett

    Adding columns to a report

    This is probably a rediculas question, but how can I modify an existing report to contain an additional column? I'm using VFP 6.0. My solution was to scrap my report and make a new one with the wizard, but there has got to be a way to do later. Thanks.
  10. spuppett

    My menu isn't showing up

    I have a menu which I designed, then compiled and refrenced in my form. The form's showWindow property is set to 2, the menu option for Top-Level form is checked, and still the menu won't show up. I call the menu with DO p2appmenu.mpr WITH THIS I've taken out the 'WITH THIS' because I get an...
  11. spuppett

    An odd thing happens at about 1.2 millionth record

    Here's the situation, I have a table with say 250,000+ records in it. I scan through these records and generate 35 guids per record for another table. Infrequently I get an error say something about an 'Unknow COM status'. I've installed SP5 and that didn't fix the problem. The code I use...
  12. spuppett

    default directory

    I'm sure this has been asked before, but I couldn't find it in a search. How can I specify the inital directory FoxPro 2.6 opens up with? Right now it default to c:, but all the work I'm doing right now is a few dir's deeper than that and its just kind of annoying to have to set default every...
  13. spuppett

    Table in use

    I have this rather large conversion process that process over 200,000 records. Everytime I run it I get an error saying that a table is in use. This hasn't happened on the same record twice, but it does happen at least once every time I run it. Does anyone know what would cause this sort of...
  14. spuppett

    Which do you reckon would be faster?

    I need to search a table for 1 record. I know it will be unique. Would it be faster to do a 'locate for', or a select into a cursor? Any thoughts?
  15. spuppett

    Current Row

    How does one get the current row of the screen. For instance, I've just printed a bunch of line on the scree. In my code, I would like to say @(some row, 5 up from current row, some col) SAY "Something Happened" Any thoughts?
  16. spuppett

    Stopping query results from showing

    This is probably a very dumb and noobish question, but I can't find an answer. I have a program that runs a query. I set talk off, but it still shows the query. How do I disable that? Thank you.
  17. spuppett

    evaluating .t.

    A quick question: does .t. evaluate to and integer? (non-zero) I don't really know how to test it in VFP. I tried 'say .t. <> 0', but got a type mis-match. Thanks
  18. spuppett

    Getting the top n records

    This is probably a very n00bish question, but I haven't been able to find much. Its hard to do a search on SQL top. I'm looking for a way to get only the first n records back from a SELECT statement. I've seen 'SELECT TOP(n) FROM tbl', but VFP says the statement is invaild, which leads me to...
  19. spuppett

    Writing to text file

    I am having a heck of a time with this. I am not a foxPro programmer by any stretch of the imagination, but I have a task to accoplish. I need to write some text from a table to a file. I am working with some legecy code that uses fcreate and the like, but no matter what I do the handle that...
  20. spuppett

    breaking up large text file

    Does anyone know how I could go about breaking up a large (770 mb) text file into smaller files? I can't seem to find any ideas anywhere. I have a file, that contain archived emails. I need to parse them into their indivdual emails. i know how to do that part of it, but I in-order for that...

Part and Inventory Search

Back
Top