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 dencom 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: *

  1. peteschulte

    Migrate website from PHP 5.3 to 5.5

    Hello Guys and Gals, The website www.kevinschafer.com was created in PHP version 5.3. I didn't create it, but over the years I've been Kevin's go-to guy for HTML page revisions,PHP-My Admin tasks, a new JavaScript window, etc. Recently the PHP interpreter on the server was upgraded to 5.5. The...
  2. peteschulte

    JS variable works to display pictures but not file names

    Hello Coders and Problem-Solvers! At the end of this, see the code for the entire page. On an old web page, six thumbnails are visible on the right. On the left, one of them is displayed bigger, changing as the mouse moves over the thumbs. We would like for the correct file name to appear...
  3. peteschulte

    how to procss an XML file of 352 megs?

    Hello Coders, We use filetostr() and VFP 8 limits strings to 16,777,184 chars. Any suggestions on how to break up this file or re-set VFP or ... ? xmlcontent = FILETOSTR(xmlfile) lcXML = xmlcontent loXMLAdapter = CreateObject("XMLAdapter") loXMLAdapter.LoadXML(lcXML,.F.,.T.) Thanks, Pete S
  4. peteschulte

    How to obtain count of days from dates?

    I need to obtain the count of days in the billing cycle. Below is one way, to use Olaf's post from before. * billingsummary.cycle_end and cycle_star look like 03/21/09 * type is DateTime How can I convert cycle_end and cycle_star to work with function dayofyear()? Refer to thread 184-1016445...
  5. peteschulte

    how to get mm/dd/yyyy from DateTime var?

    Hello Fox Coders I have been clicking around in the help files and trying various ways to get from replace billdate with iif(!isnull(billsummary.billdate), datetime(billsummary.billdate),'') yielding 20081012 to another code expression that would yield 10/12/2008. I can get the former but...
  6. peteschulte

    xmlAdapter with Append From, to a batch of files

    Thanks to Olaf, Tamar, Stfaprc, MikeLewis and others I've arrived at the question how to use xmlAdapter and append from its tables collection to a batch of files. Some of their data types have been converted from Memo. There's more background and detail in thread 184-1517016...
  7. peteschulte

    xmlToCursor() hangs on spaces

    Hello Coders, Please see the jpeg for content of the xml and the error message resulting from the program below. When I received this error before, I went into the xml file and removed a crlf. As a result, the program processed the xml file past that point and hung on the next space in the xml...
  8. peteschulte

    FILETOSTR error while converting XML

    Hello Coders, In debugging the following code, I referred to the Help files, shortened the file name, inspected the file itself -- I'm stuck! See attachment Stepping into this line, I got "File does not not exist" -- xmlcontent = FILETOSTR(xmlfile) SET DEFAULT TO C:\tempVFP\12-26_reStart Local...
  9. peteschulte

    Assign the contents of a variable to a filename

    Hello FoxPro Experts, I want to use the contents of lcFilename to name or create a file and copy report numbers from a Db field to that file. lcToday = dtos(Date()) lcFilename = lcToday + "_IVR" ? lcFilename ...displays 20081205_IVR. So far so good. copy to \\Web\H\Remit\KEY\lcFilename...
  10. peteschulte

    How to save cursors? How to access their names?

    First, THANKS TO Tek-Tips and OLAF DOSCHKE for getting me this far. [2thumbsup] Now, Hello Fox Programmers, In the For loop below, we want to store each cursor to a dbf, preferably with the name assigned to it being the same as the name in the xml. We see the names in the Data Session and down...
  11. peteschulte

    xmltocursor()--how to use?

    Hello Fox Experts, We'll be receiving client data (view it at the url) in xml to print billing statements. Deciding whether to use AXC.exe or VFP8, I encountered problems with VFP8 using xmltocursor(). It appears that VFP stopped reading the file. See http://web.afts.com/peter/bpexport.xml...
  12. peteschulte

    Invalid Subscript Reference while declaring function

    Hello, This is the first Function I have declared in years, though I used FP 2.x back in the 90's. Help anyone? I'm in VFP 9 the error message comes at the DO command and says "Invalid Subscript Reference." See the URL to view the code. Thanks very much! Peteschulte

Part and Inventory Search

Back
Top