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 bkrike 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 GKatReliable

  1. GKatReliable

    Xsl Formatting of SSno, Phone no

    Much appreciated. One other question, in ASP.Net in Visual Studio.Net 2003 at our company, when you create a new document for Xsl, Microsoft creates an .xslt file for you. All of the MSDN documentation says to save things to an .xsl file. Are the .xslt and .xsl file extensions interchangeable...
  2. GKatReliable

    Xsl Formatting of SSno, Phone no

    I have searched for tips on how to format a Social Security Number or a phone number using xls when the xml is such as this: <ssno>123456789</ssno> <phone>1234567890</phone> The SSno should appear on a web page as 123-45-6789 and the phone number should be, of course, (123) 456-7890 I can't find...
  3. GKatReliable

    Set Alternate wrote the wrong thing to the output file

    Thank you for your response. I certainly should move my calculations further up in the program, prior to when I start writing out the data transactions. With pages and pages of record layout I am trying to recreate, I suppose I was just doing what it took to do each record/field as it appeared...
  4. GKatReliable

    Set Alternate wrote the wrong thing to the output file

    In FPW26a, I am writing a program using SET ALTERNATE and ?/?? to write transactions to a text output file to send to a vendor (darn mainframe-y vendors). In the middle of one of these output lines, I had occasion to do a calculation with SUM hours TO mhrsworked ... Then later on I did a ...
  5. GKatReliable

    Fox Pro-Automatically closing tables

    I maintain a payroll system written in Fox 2.6a, and I face this open file problem on a regular basis. I read that FAQ from the other forum and I think it us just a timer window that counts down from 5 minutes. I don't see how it closes open files or forces users out at all. If there is a way...
  6. GKatReliable

    Get password from text file

    I have to change some of our company's scripts to bring in a login password from an external text file, because the host system does a periodic password change and the user community does not have write access to the folder where our production scripts are kept. After much RTFM'ing and using an...
  7. GKatReliable

    Log file with newest entry on top

    I want to create and maintain a log file for the user that shows the most recent entry on top. I am adding a date and time stamp to the log file entry. This is a pure text file. I _WANT_ CR/LF's. I find that for whatever reason, adding TEXT to fopen does not add CR/LF with fputs. I tried...
  8. GKatReliable

    Testing for failed file transfer, failed

    We send a file to our bank by modem using PCPlus, and at the end of my script I move the file to an archive folder and add the date and time to the filename. Whenever the file transfer fails, the archive portion of the script still runs and it takes a bit of doing to put the file back to where...
  9. GKatReliable

    Counting with logical fields

    not (P and Q) = (not P) or (not Q) not (P or Q) = (not P) and (not Q) Very interesting. On a pop quiz, I would have had both answers reversed. Regards, Glenn Koproske
  10. GKatReliable

    Counting with logical fields

    All people with medical benefits get .T. for the Medical field. Additionally, that subset of people with Medical who are enrolled in HMO Illinois get .T. for the Hmoil field. Everyone who is .T. for hmoil will also be .T. for Medical. The users say that if we print the letter for Hmoil, the...
  11. GKatReliable

    Counting with logical fields

    I am struggling a bit with a line of code I have to modify in a program that generates Cobra letters from an HR system that I support. I have a series of logical fields in my work database that say which benefit they have for which a letter should be printed. One of them is just plain...
  12. GKatReliable

    How do you corrupt a CDX?

    We have a commercial payroll application written in FPW26a. I support it, and we have been running it for a decade. Only recently have I encountered problems with a couple .Dbf's where as soon as the command to USE the file ORDER 1 is invoked, BAM! they get an error Record out of range. I have...
  13. GKatReliable

    Detect who the user is

    We have FPW26 and run a number of programs against our payroll system. We keep an audit text file of what gets run by our user community. Each program passes parameters to this function, which writes to the audit text file: FUNCTION LogWrit PARAMETER lcText, lcLog IF PCOUNT() < 2 .OR. lcLog =...
  14. GKatReliable

    Main Visual Fox 6 Window

    Our shop still uses FoxPro for Windows 2.6a. The screen display for such things as DISPLAY STRUCTURE and DIR is tight and appears one print line on one screen line. When I use Visual Fox 6, DISPLAY STRUCTURE and DIR will wrap on the screen. The columns are spread out for no apparent reason...

Part and Inventory Search

Back
Top