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 Chriss Miller 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: DEDMOD
  • Content: Threads
  • Order by date
  1. DEDMOD

    Black Code

    Since I'm doing some serious coding today, I came up with another lightbulb experince just now. At the risk of giving others a laugh at how dense I am for not having figured it out, or read it before, here it is. I'd always wondered why parts of my code were sometimes colored black for a...
  2. DEDMOD

    Memo Bloat

    I'm trying to store data from a file into memo fields. Some of the lines in the data file contain the header information for a given record and the following lines up to the next header line is raw data (genome data in this case so it's just a string of ATCGs.) Anyway, I'm using code like...
  3. DEDMOD

    STREXTRACT()

    I tried one of the new language enhancements in VFP 7 and found it quite nice. Those who find themselves doing a lot of 'AT()'s and 'ATC()'S and 'RAT()s should be able to save a lot of coding time. For example, thisEMB = STREXTRACT(gline,"|","|",3) pulls out what's...
  4. DEDMOD

    Downloading Text from websites

    Since the previous thread was getting a bit long I've decided to start a new one. Ok, so Chris let's assume that your approach is best, to save the entire thread as a memo. I did a quick test and a text file of two TekTips pages, one large and one small were 98k and 50k respectively. So if we...
  5. DEDMOD

    Component Gallery

    Needing something to read during lunch yesterday, I grabbed the MS VFP6.0 Programmer's Guide and started reading in the back (all us nerds do read programming books during lunch, don't we?) and was reading about the Component Gallery. Sounded a bit interesting, so I've been playing a round a...
  6. DEDMOD

    Running Prog and VFP7

    Just got my VFP 7 and ran into a problem. I've got things set up so that to start a project I doubleclick on an icon and it runs a program to open up VFP, set the pathing and open the help files and the particular .pjt I'm working on. Well, after installing 7, this still starts to work but...
  7. DEDMOD

    Proper Base Class

    I'm getting ready to create a rather major-league class having a ton of properties and methods and want to know what's best to use as the baseclass. I don't necessarily want it visible. But I do want it to be able to deal with several tables and or views and change them out as required. And I...
  8. DEDMOD

    Fatal Error

    I have a table with a char[10] field and 9 records. I put the numbers 1-9 in this field and then went into the table designer to add an index on the field. When it tried to do it, I got a fatal error message. I went back and changed the field to integer and reentered the numbers and it...
  9. DEDMOD

    Accessing Method Code

    Is there an easy way to programatically access the code you put in a form method from outside the form? I've decided it would be nice to put a method in my standard form which I can use to place notes in about the form. I can think of a number of work-arounds but if there's an easy way to do...
  10. DEDMOD

    Referencing class properties internally

    I'm trying to create some classes and I'm not sure how to reference user defined properties of the class from within objects in the class. Thus I'm trying to manipulate the "schema" property of the class from within the click event of a command button. I tried this.schema without...
  11. DEDMOD

    Editbox Controlsource

    I have an editbox I'm using to display a memofield. I start out with the editbox.controlsource = myfield. Then later, depending on the option selected in an option group I may have editbox.controlsource = "". This works fine. Later when I try resetting the controlsource to the...
  12. DEDMOD

    Remote View Problem

    I've got a Program I'm running 'lSchedule' with the following code: OPEN DATA stables USE mct IN 0 USE sched2 in 0 sele mct vdate = mct.fdate vname = mct.name1_ref sele sched2 INSERT INTO Sched2(Schedule_ref, comp_ref, Scheddate, name1_ref, completed); VALUES (SYS(2015), "FH", vdate...
  13. DEDMOD

    cvs or csv

    I'm trying to use APPEND FROM to fill some tables from .csv files, but am losing the first record. The VFP help file is confusing as it talks first about a .cvs TYPE and then mentions a .csv file. The files I have don't have a first record consisting of field names, so I'm losing the first...
  14. DEDMOD

    Form Controls Toolbar

    It seems to me I've seen this answered here before, but I couldn't find it in a quick search, so I'll ask again. It's easy enough to add a new library to the form controls toolbar, but how do you remove them? In particular, when I add new classes to a class library, how do I get the toolbar to...
  15. DEDMOD

    Is USNY a member

    Once in a while I like to look at the list of 'VFP Experts' and I don't find UpstateNewYorker on the lists no matter what I index on. I know there are occasional 'visitor's who wouldn't appear on the list, but I thought that if you have 'Programmer' behind your name, you were a member and...
  16. DEDMOD

    Grid: Bug or Feature

    Though I think I know how to solve this, having read the recent "Problem with Grid" thread, I wonder if someone can explain what's happening in the following situation. I have a 'main' form which calls another, data-entry form. I've placed a grid on this data-entry form to show...
  17. DEDMOD

    Best Way to display details

    I'm relatively new at FoxPro and rather overwhelmed with all the possibilities when it comes to displaying data. I have a situation where I have one table with projects and another with details (hours worked) keyed to the project. What's the best way to display the details on the form with a...

Part and Inventory Search

Back
Top