<?xml version="1.0" encoding="us-ascii"?><rss version="2.0"><channel><title>Foxite.COM Visual FoxPro Forum</title><link>http://www.foxite.com/forum/</link><description>Latest topics posted to the Foxite.COM Visual FoxPro Forum.</description><copyright>(C) Copyright 2001 - 2008 Foxite.COM / Eric den Doop - The Netherlands</copyright><ttl>5</ttl><language>en</language><generator>Foxite.Community.Web.RSSFeeds.Forum</generator><image><url>http://www.foxite.com/images/foxite.gif</url><title>Foxite.COM Visual FoxPro Forum</title><link>http://www.foxite.com/forum/</link><description>Latest topics posted to the Foxite.COM Visual FoxPro Forum.</description></image><item><title>Forms: Project with many screens                                                                           </title><link>http://www.foxite.com/archives/0000192761.htm</link><guid>http://www.foxite.com/archives/0000192761.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi everyone, I'm looking for some insights.  I've got a project which would require many screens that a user could potentially traverse through.  It's sort of like filling out a dynamic application with different branches based on answers to questions.  In all, I think I've got about 80 screens and each one is fairly simple.  My question is how would I best approach the navigation aspect through all those screens?  I don't think I should make them all modal and always on top because the path is basically one way and when you get to the end, you don't need to back through all the screens you've completed.&lt;br /&gt;&lt;br /&gt;If it were a handful of screens, I would consider using one form and a container with a bunch of tabs, but I think 80 would be too hard to develop and maintain.  On the other hand, I don't think I want to create 80 different forms as programming the navigation would be unwieldy.  If it makes any difference, I can group together the screens into about half a dozen different logical areas.  Also, some reversing of the screens would be allowed, but there are a few points of no return.&lt;br /&gt;&lt;br /&gt;Any thoughts would be greatly appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;David</description><author>David Jo&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 06:58:29 +0100</pubDate></item><item><title>Web Applications: converting 2 reports to the web.                                                                    </title><link>http://www.foxite.com/archives/0000192994.htm</link><guid>http://www.foxite.com/archives/0000192994.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Dear Expert,&lt;br /&gt;	I have an application running  in the client server  environment  (&lt;B&gt;VFP&lt;/B&gt; front end &amp; &lt;B&gt;SQL SERVER &lt;/B&gt;backend)  .&lt;br /&gt;&lt;br /&gt;However I need to convert 2 of the reports with 25 columns to be displayed on the Web;&lt;br /&gt;  &lt;br /&gt;and Heads of Unit who are geographically dispersed to have access to their Units members only, when they browse&lt;br /&gt;the system via the internet.&lt;br /&gt;&lt;br /&gt;The front end is &lt;a target='_blank' href='http://asp.net/' rel='nofollow'&gt;asp.net&lt;/a&gt; and the backend  is  SQL SERVER 2005 .&lt;br /&gt;&lt;br /&gt;Please assist with your ideas&lt;br /&gt;&lt;br /&gt;Thanks</description><author>Leonard Trevor&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 19:17:06 +0100</pubDate></item><item><title>Install &amp; Config. issues: Installation error                                                                                  </title><link>http://www.foxite.com/archives/0000192999.htm</link><guid>http://www.foxite.com/archives/0000192999.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;I get an error when installing VFP 9.0 which prevents the&lt;br /&gt;app from installing at all. It's a 1305 error that says&lt;br /&gt;the gridbldr.app cannot be found or written to. The&lt;br /&gt;file does not exist where the error suggests that it should &lt;br /&gt;and I assume that the VFP installation process put it &lt;br /&gt;there, but it is 0 bytes. It is not flagged as read only &lt;br /&gt;and I do have full admin rights. See attachment for &lt;br /&gt;screen shot&lt;br /&gt;&lt;br /&gt;What to do?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Dan&lt;br /&gt;&lt;img src="http://www.foxite.com/uploads/d49915ed-782a-4371-bf21-290e0002a8cf.jpg"/&gt;</description><author>Dan Dunn&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 21:22:11 +0100</pubDate></item><item><title>Off-topic: How to recognize a VFP developer?                                                                   </title><link>http://www.foxite.com/archives/0000192676.htm</link><guid>http://www.foxite.com/archives/0000192676.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;Do you know how to recognize a VFP developer?&lt;br /&gt;No? It's easy...   (lol) &lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.foxite.com/uploads/6d7726a1-28ae-40ab-8120-99ecaba91319.jpg"/&gt;</description><author>Emerson Reed&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 15:58:00 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: Problem with tmp files                                                                              </title><link>http://www.foxite.com/archives/0000192897.htm</link><guid>http://www.foxite.com/archives/0000192897.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;In the following code, one user (out of thousands who are running this program) is getting an error:&lt;br /&gt;&lt;br /&gt;File 'C:\temp\00004obd0012.tmp' does not exist&lt;br /&gt;&lt;br /&gt;This error occurs on one of the ALTER TABLE lines, but not the same one each time.  That is, it can add one or more of the columns in the FOR loop, but invariably crashes with that error before the loop exits.  We have tried different temp file locations (by editing the TMPFILES line of CONFIG.FPW).  I have had the user create new temp directories so I know he full permissions RWX on the location.  I do not have access to that computer, and have been unable to duplicate the problem on my computers.  Does anyone know of anything that might cause this to happen?&lt;br /&gt;&lt;br /&gt;CREATE CURSOR ALIST ;&lt;br /&gt; (PK N(7,0), ;&lt;br /&gt;  AC C(10), ;&lt;br /&gt;  EXAC C(10), ;&lt;br /&gt;  ADAC C(10), ;&lt;br /&gt;  ACQ D, ;&lt;br /&gt;  DESC C(50), ;&lt;br /&gt;  STAT C(1), ;&lt;br /&gt;  COST N(13,2), ;&lt;br /&gt;  SO1 C(10), ;&lt;br /&gt;  SO2 C(10), ;&lt;br /&gt;  SO3 C(10), ;&lt;br /&gt;  SO4 C(10), ;&lt;br /&gt;  ADESC C(50), ;&lt;br /&gt;  UD1 C(35), ;&lt;br /&gt;  UD2 C(35), ;&lt;br /&gt;  ACNA C(35))&lt;br /&gt;  &lt;br /&gt;SELECT ALIST&lt;br /&gt;&lt;br /&gt;FOR z = 1 to VAL(gcNoMethods)&lt;br /&gt;   lcNum = str(z,1)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("METH"+lcNum) C(5)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("LIFE"+lcNum) N(7,4)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("COST"+lcNum) N(13,2)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("S179"+lcNum) N(13,2)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("ACCD"+lcNum) N(13,2)&lt;br /&gt;   ALTER TABLE ALIST ADD COLUMN ("CURD"+lcNum) N(13,2)&lt;br /&gt;NEXT</description><author>Aaron Martinez&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 22:27:47 +0100</pubDate></item><item><title>General VFP Topics: Intelligent Bar Code Encoding                                                                       </title><link>http://www.foxite.com/archives/0000192995.htm</link><guid>http://www.foxite.com/archives/0000192995.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Not sure if this is the right category, but nothing else seemed to fit...&lt;br /&gt;&lt;br /&gt;Is anyone doing anything with the new USPS barcode system? I have a mailing service client who needs to start using the Intelligent Mail Bar Code; I've downloaded all the stuff from the USPS, but I'm still a little lost. The USPS provides a function that can be called from an Access or Excel macro, and ideally that would be what I'd want to use. The function takes the three strings that make up the 65 characters needed to produce the bar code, and encodes them into the 35 or so characters that will actually make up the bar code.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Glen</description><author>Glen Harness&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 19:39:23 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: generate tabular report                                                                             </title><link>http://www.foxite.com/archives/0000192991.htm</link><guid>http://www.foxite.com/archives/0000192991.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Dear Expert,&lt;br /&gt;&lt;br /&gt;A datafile with the following fields :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;dept&lt;br /&gt;branch&lt;br /&gt;area &lt;br /&gt;amount&lt;br /&gt;&lt;br /&gt;I want to generate a  tabular report which will count the number of employees in a  '&lt;B&gt;BRANCH&lt;/B&gt;' against the '&lt;B&gt;DEPT&lt;/B&gt;'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The listing on the top should be the &lt;B&gt;'BRANCHES'&lt;/B&gt; &amp; the rows should be &lt;B&gt;'DEPT'&lt;/B&gt;.</description><author>solomon sackey&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 16:58:19 +0100</pubDate></item><item><title>Other: Server Time                                                                                         </title><link>http://www.foxite.com/archives/0000192930.htm</link><guid>http://www.foxite.com/archives/0000192930.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;I use &lt;pre class='codeblock'&gt;&lt;font color="Blue"&gt;run&lt;/font&gt; net &lt;font color="Blue"&gt;time&lt;/font&gt; \\server /&lt;font color="Blue"&gt;set&lt;/font&gt; /y
&lt;/pre&gt; to set date/time of workstation to match server on a workgroup network.&lt;br /&gt;Is there any alternative to this command? Any win32api call etc.&lt;br /&gt;The problem with this command is sometimes it behaves very strange the workstation date/time differs than that of the server.&lt;br /&gt;&lt;br /&gt;Zaheer</description><author>Zaheer Ahmed&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 07:08:54 +0100</pubDate></item><item><title>Network and Computer Management: Server client findout                                                                               </title><link>http://www.foxite.com/archives/0000192984.htm</link><guid>http://www.foxite.com/archives/0000192984.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Dear experts,&lt;br /&gt;&lt;br /&gt;	how is find my database shared or used any other user or Which user is connected my database , how is findout? Which client computer is connected or shared my database.&lt;br /&gt;&lt;br /&gt;	thanking you,&lt;br /&gt;	P.Bhoopathy</description><author>Bhoopathy kalaivani&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 14:51:20 +0100</pubDate></item><item><title>Forms: get the next 30 days                                                                                </title><link>http://www.foxite.com/archives/0000192914.htm</link><guid>http://www.foxite.com/archives/0000192914.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi all, &lt;br /&gt;How to get or store the next 30 days after this current date is displayed?&lt;br /&gt;&lt;br /&gt;Current date:&lt;br /&gt;&lt;pre class='codeblock'&gt;

#&lt;font color="Blue"&gt;DEFINE&lt;/font&gt; LONGDATE_LOC &lt;font color="Blue"&gt;CDOW&lt;/font&gt;(&lt;font color="Blue"&gt;DATE&lt;/font&gt;())+&lt;font color="Black"&gt;" "&lt;/font&gt;+&lt;font color="Blue"&gt;CMONTH&lt;/font&gt;(&lt;font color="Blue"&gt;DATE&lt;/font&gt;())+&lt;font color="Black"&gt;" "&lt;/font&gt;+;
&lt;font color="Blue"&gt;ALLTRIM&lt;/font&gt;(&lt;font color="Blue"&gt;STR&lt;/font&gt;(&lt;font color="Blue"&gt;DAY&lt;/font&gt;(&lt;font color="Blue"&gt;DATE&lt;/font&gt;())))+&lt;font color="Black"&gt;", "&lt;/font&gt;+&lt;font color="Blue"&gt;ALLTRIM&lt;/font&gt;(&lt;font color="Blue"&gt;STR&lt;/font&gt;(&lt;font color="Blue"&gt;YEAR&lt;/font&gt;(&lt;font color="Blue"&gt;DATE&lt;/font&gt;())))

&lt;font color="Blue"&gt;THISform&lt;/font&gt;.txttime.&lt;font color="Blue"&gt;Value&lt;/font&gt; = LONGDATE_LOC
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;Adam N&lt;br /&gt;&lt;a rel='nofollow' target='_blank' ref="http://choliludin.wordpress.com"&gt; My Blog &lt;/a&gt;</description><author>Adam Nurrohman&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 03:25:21 +0100</pubDate></item><item><title>Foxite Downloads: Changing Backcolor of text on in/out                                                                </title><link>http://www.foxite.com/archives/0000192956.htm</link><guid>http://www.foxite.com/archives/0000192956.htm</guid><description>Version: Visual FoxPro 8&lt;br /&gt;&lt;br /&gt;hi&lt;br /&gt;     As Raju S need the code to change backcolor without changing anything in his existing form. here is raju s thread&lt;br /&gt;for further detail &lt;a href='/archives/0000192844.htm'&gt;Message ID: 192844&lt;/a&gt; &lt;br /&gt;Just Drop that class on form it will change the backcolor of your textbox only when u got focus there and change it&lt;br /&gt;when u lostfocus from it. u can add morethings too in that class as its open source. That will tell you the bindevent&lt;br /&gt;power! and give u the idea how to use it. so u can solve other problems too.&lt;br /&gt;there r 2 properties backcolor and backcolor2 to give the color combination. &lt;br /&gt;&lt;br /&gt;&lt;a target='_blank' href='http://www.foxite.com/uploads/3b7ad1c3-b37e-4a55-aca8-f32a60e75f0c.zip'&gt;http://www.foxite.com/uploads/3b7ad1c3-b37e-4a55-aca8-f32a60e75f0c.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have added the forecolor and forecolor2 too as samir told. and defined the variable too as stefan says :)&lt;br /&gt; &lt;br /&gt;Anil&lt;br /&gt;(Fox is the solution for almost everything!!)</description><author>Anil Sharma&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 11:33:59 +0100</pubDate></item><item><title>Reports and Printers: Convert prn / txt file in pdf                                                                       </title><link>http://www.foxite.com/archives/0000192977.htm</link><guid>http://www.foxite.com/archives/0000192977.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;Is there any way to convert prn / txt file into pdf format?&lt;br /&gt;&lt;br /&gt;Balasaheb Malunjkar</description><author>Balasaheb Malunjkar&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 14:03:11 +0100</pubDate></item><item><title>Active X Controls &amp; OLE Automation: MSCOMM Problem                                                                                      </title><link>http://www.foxite.com/archives/0000192813.htm</link><guid>http://www.foxite.com/archives/0000192813.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;I have problem on connecting my program WITH mscomm to mobile barcode when I've tried to connect with debug mode I can connect successfully but when I am not using debug mode program not able to send and get data from scanner. See below script for your reference.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Agung&lt;br /&gt;&lt;br /&gt;*****&lt;br /&gt;Init Form&lt;br /&gt;&lt;br /&gt;Public pdatas &lt;br /&gt;&lt;br /&gt;******&lt;br /&gt;OnClick on button &lt;br /&gt;&lt;br /&gt;mcomport = 1&lt;br /&gt;mcomset= "38400,n,8,1"&lt;br /&gt;&lt;br /&gt;Thisform.l_mscom1.commPort = mcomport&lt;br /&gt;Thisform.l_mscom1.settings = mcomset&lt;br /&gt;Thisform.l_mscom1.portopen = .t.&lt;br /&gt;&lt;br /&gt;WAIT windows TIMEOUT 0.5 NOCLEAR &lt;--- IF REMOVE THIS SCRIPT SYSTEM NOT ABLE TO SENDING DATA FROM SCANNER IF USING DEBUG MODE SYSTEM WORKS&lt;br /&gt;&lt;br /&gt;iCounterA = 0&lt;br /&gt;iCounterB = 1&lt;br /&gt;iCounterC = 0&lt;br /&gt;lFres = 0&lt;br /&gt;Thisform.l_progbar1.Max = 100&lt;br /&gt;Thisform.l_progbar1.Min = 1&lt;br /&gt;Thisform.l_progbar1.value = iCounterB&lt;br /&gt;&lt;br /&gt;pStopProsses = .f.&lt;br /&gt;&lt;br /&gt;PDatas = ''&lt;br /&gt;iRepeat = 0&lt;br /&gt;iTotal= 0&lt;br /&gt;DO WHILE .t.&lt;br /&gt;        DOEVENTS &lt;br /&gt;        If EMPTY(PDatas) And iRepeat= 0&lt;br /&gt;            cDtx = "XIDX"&lt;br /&gt;            Thisform.l_mscom1.Output = cDtx + CHR(13)&lt;br /&gt;&lt;br /&gt;            iRepeat = 1&lt;br /&gt;        ELSE&lt;br /&gt;	    If "XNOX" $ PDatas&lt;br /&gt;                PDatas = ""&lt;br /&gt;                iRepeat = 0&lt;br /&gt;            ELSE &lt;br /&gt;	        IF "IDPDT" $ PDatas&lt;br /&gt;    	            Thisform.l_label1.caption = substr(PDatas, 7, 2)&lt;br /&gt;        	        Exit&lt;br /&gt;	        ENDIF&lt;br /&gt;	    ENDIF &lt;br /&gt;           &lt;br /&gt;           iCounterB = iCounterB + 1&lt;br /&gt;           If iCounterB &gt; Thisform.l_progbar1.Max &lt;br /&gt;              iCounterB = 1&lt;br /&gt;           ENDIF &lt;br /&gt;           Thisform.l_progbar1.Value = iCounterB&lt;br /&gt;           &lt;br /&gt;           iRepeat = iRepeat + 1&lt;br /&gt;           If iRepeat &gt; 10000&lt;br /&gt;              iRepeat = 0	 &lt;br /&gt;              EXIT&lt;br /&gt;           EndIf&lt;br /&gt;        EndIf&lt;br /&gt;        If pStopProsses&lt;br /&gt;           Exit &lt;br /&gt;        ENDIF &lt;br /&gt;ENDDO &lt;br /&gt;WITH Thisform.l_progbar1&lt;br /&gt;	.Value = 1&lt;br /&gt;	.Min = 1&lt;br /&gt;	.Max = 2&lt;br /&gt;ENDWITH &lt;br /&gt; &lt;br /&gt;If EMPTY(ALLTRIM(Thisform.l_label1.caption))&lt;br /&gt;   =MESSAGEBOX("Scanner not detected" + CHR(13)+CHR(10)+ "Please check the communication!",0+16,"WARNING")&lt;br /&gt;ENDIF &lt;br /&gt;Thisform.l_mscom1.portopen = .f.&lt;br /&gt;&lt;br /&gt;*********&lt;br /&gt;OnComm on MSCOMM&lt;br /&gt;&lt;br /&gt;nComEvent = Thisform.l_mscom1.commEvent&lt;br /&gt;&lt;br /&gt;DO CASE &lt;br /&gt;CASE nComEvent = 2	&amp;&amp;comEvReceive =1&lt;br /&gt;     cDta = ' '&lt;br /&gt;     DO WHILE .t.&lt;br /&gt;        cDta = Thisform.l_mscom1.input &lt;--- SYSTEM NOT ABLE TO GET DATA FROM SCANNER IF USING DEBUG MODE SYSTEM WORKS&lt;br /&gt;        If !EMPTY(cDta)&lt;br /&gt;           PDatas = PDatas + cDta&lt;br /&gt;        ENDIF &lt;br /&gt;        &lt;br /&gt;	PTimeout  = .t.&lt;br /&gt;        If ALLTRIM(PDatas) &lt;&gt; ' '&lt;br /&gt;           If Asc(Right(PDatas, 1)) = 13 And (Len(PDatas) = 72 Or Len(PDatas) = 73) &lt;br /&gt;		eXIT&lt;br /&gt;           ELSE &lt;br /&gt;	         If Asc(Right(PDatas, 1)) = 13 &lt;br /&gt;	            EXIT &lt;br /&gt;	         ENDIF &lt;br /&gt;	   ENDIF&lt;br /&gt;	ENDIF &lt;br /&gt;     ENDDO &lt;br /&gt;     Thisform.l_mscom1.inputLen = 0&lt;br /&gt;Case nComEvent = 1&lt;br /&gt;     PTimeout = .t.&lt;br /&gt;ENDCASE &lt;br /&gt;cDtc = ''</description><author>Agung Kurnianto&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 11:19:12 +0100</pubDate></item><item><title>Forms: Form looks active (but is not)                                                                      </title><link>http://www.foxite.com/archives/0000192915.htm</link><guid>http://www.foxite.com/archives/0000192915.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;I have a form that has buttons to run other forms (DO FORM xxx). Let us call this form the "Choose something" form.&lt;br /&gt;&lt;br /&gt;When a button is clicked, the user works in a new form, and then closes it.&lt;br /&gt;The "Choose something" form remains open, and the user can make a new selection.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usually this works - the user clicks a button and an option opens. However, sometimes the user must click twice for the button to work.&lt;br /&gt;&lt;br /&gt;I can see that the "Choose something" form is on top (because the windows title is blue).&lt;br /&gt;However, I guess its not always active.&lt;br /&gt;&lt;br /&gt;Its frustrating for the user - sometimes they click a button and it works, sometimes it doesn't.&lt;br /&gt;&lt;br /&gt;Any suggestions on how to ensure that the clicked button always fires the first time?&lt;br /&gt;&lt;br /&gt;Cyril</description><author>Cyril Baskir&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 03:29:42 +0100</pubDate></item><item><title>Forms: change property of all textboxes.                                                                   </title><link>http://www.foxite.com/archives/0000192844.htm</link><guid>http://www.foxite.com/archives/0000192844.htm</guid><description>Version: Visual FoxPro 8&lt;br /&gt;&lt;br /&gt;I want to change backcolor of textbox and combobox when it gets focus in all my forms.&lt;br /&gt;I have not used 'class' so far.&lt;br /&gt;What can be done ?&lt;br /&gt;&lt;br /&gt;Thanks everyone.</description><author>Raju S&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 13:59:27 +0100</pubDate></item><item><title>.NET: Textbox Focus                                                                                       </title><link>http://www.foxite.com/archives/0000192972.htm</link><guid>http://www.foxite.com/archives/0000192972.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;Hi all,&lt;br /&gt;&lt;br /&gt;I have &lt;a target='_blank' href='http://vb.net/' rel='nofollow'&gt;VB.Net&lt;/a&gt; Application which contain 6 textbox's on form.&lt;br /&gt;&lt;br /&gt;in VFP, when pressing Enter, the focus is moved to the next control &lt;br /&gt;depending on the Tab Index value.&lt;br /&gt;&lt;br /&gt;In &lt;a target='_blank' href='http://vb.net/' rel='nofollow'&gt;VB.Net&lt;/a&gt; pressing enter leave the focus on the current control, this was an&lt;br /&gt;issue exist in earlier version VB6, and it seem it continue to &lt;a target='_blank' href='http://vb.net/' rel='nofollow'&gt;VB.Net&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Is there a solution to make the Enter Keypress move focus to next control without programming Keypress Event of each textbox?&lt;br /&gt;&lt;br /&gt;TIA&lt;br /&gt;&lt;br /&gt;Samir R. Ibrahim&lt;br /&gt;&lt;I&gt;&lt;B&gt;Good things Take time, Great things happend all at once.&lt;/B&gt;&lt;/I&gt; &lt;a href="http://weblogs.foxite.com/samir_ibrahim/articles/6187.aspx" title="Samir WebLog" target="_blank"&gt;My WebLog&lt;/a&gt; My Website: &lt;a target='_blank' href='http://www.cdcity.org/' rel='nofollow'&gt;www.cdcity.org&lt;/a&gt;</description><author>Samir Ibrahim&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 13:28:00 +0100</pubDate></item><item><title>General VFP Topics: Control Box problem                                                                                 </title><link>http://www.foxite.com/archives/0000192811.htm</link><guid>http://www.foxite.com/archives/0000192811.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;hi expert,&lt;br /&gt;&lt;br /&gt;i am creating an exe file for my program but i found out that there is no control box on the right side corner of my screen. I want to have a control box in order to shift from my program to other windows program. I have this code below at my main.prg&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;_screen&lt;/font&gt;.&lt;font color="Blue"&gt;windowstate&lt;/font&gt;= 2
&lt;font color="Blue"&gt;_screen&lt;/font&gt;.&lt;font color="Blue"&gt;controlbox&lt;/font&gt; = .T.
&lt;font color="Blue"&gt;_screen&lt;/font&gt;.&lt;font color="Blue"&gt;MDIForm&lt;/font&gt; = .T.
&lt;font color="Blue"&gt;application&lt;/font&gt;.&lt;font color="Blue"&gt;visible&lt;/font&gt; = .T.

&lt;font color="Blue"&gt;_screen&lt;/font&gt;.&lt;font color="Blue"&gt;AddProperty&lt;/font&gt;(&lt;font color="Black"&gt;"IsAdmin"&lt;/font&gt;,.f.)

&lt;font color="Blue"&gt;do&lt;/font&gt; &lt;font color="Blue"&gt;form&lt;/font&gt; frmPassword

&lt;font color="Blue"&gt;READ&lt;/font&gt; &lt;font color="Blue"&gt;EVENTS&lt;/font&gt; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is my code above enough? please help...</description><author>Angelo Andales&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 11:08:53 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: How to find matching records in a tables                                                            </title><link>http://www.foxite.com/archives/0000192918.htm</link><guid>http://www.foxite.com/archives/0000192918.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi experts!&lt;br /&gt;&lt;br /&gt;How to find matching records in a tables based on Shift Schedule?&lt;br /&gt;&lt;br /&gt;I have 3 tables in a database:&lt;br /&gt;&lt;br /&gt;The first table contains the shift patterns of employees, it shows ShiftCode, ShiftstartDateTime and ShiftEndDateTime. There is one record for each scheduled shift for each employee.  &lt;br /&gt;&lt;br /&gt;The second table contains records import from our proximity card reader. It shows employeeId, cardNo, datetime, and swipecode.  i.e. Employee A arrives at 07:59, and departs at 17:00. &lt;br /&gt;&lt;br /&gt;sample text: &lt;br /&gt;cardno       datetime      swipecode &lt;br /&gt;010002276327 2007121500759 A0 &amp;&amp; TimeIN&lt;br /&gt;010002276327 2007121500800 A1 &amp;&amp; TimeIN&lt;br /&gt;010002276327 2007121501700 B0 &amp;&amp; TimeOUT&lt;br /&gt;010002276327 2007121501700 B1 &amp;&amp; TimeOUT&lt;br /&gt;&lt;br /&gt;The third table contains the "matched" data i.e. EmployeeID, Date, ShiftTimeIn, ActualTimeIn, ShiftTimeOut, ActualTimeOut.&lt;br /&gt;&lt;br /&gt;What I need to do is each time we get a new record in the second table, it needs to find the matching shift information, if any, and create/update the relevant record in the third table.</description><author>Bernard Dy&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 03:44:04 +0100</pubDate></item><item><title>Forms: multiple combo boxes                                                                                </title><link>http://www.foxite.com/archives/0000192938.htm</link><guid>http://www.foxite.com/archives/0000192938.htm</guid><description>Version: Visual FoxPro 8&lt;br /&gt;&lt;br /&gt;hey guys,&lt;br /&gt;&lt;br /&gt;i created a combo box using the way of Mr. Anil Sharma in his reply:&lt;br /&gt;&lt;br /&gt;**************&lt;br /&gt;just create a table with Name,QueryFile bound your combobox with that table. by rowsourcetype =6 and rowsource= "table.name,queryfile" and in the lostfocus event u can just run your selected query file like that&lt;br /&gt;&lt;br /&gt;do (table.queryfile)&lt;br /&gt;**************&lt;br /&gt;&lt;br /&gt;using this way, i can run my queries or programs smoothly, but, now i need to make multiple combo boxes in my form, and i can't use this way, because i cannot use many table at the same time to get data from them. so my question is:&lt;br /&gt;is there a trick that allows me to take data from many table ? or can i create queries to show different data in the combo boxes but all from the same table ?&lt;br /&gt;&lt;br /&gt;hope i didn't confuse u guys :) &lt;br /&gt;&lt;br /&gt;your help is highly appreciated</description><author>sami bissani&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 09:17:52 +0100</pubDate></item><item><title>ODBC, ADO and OLEDB: Where clause of Views                                                                               </title><link>http://www.foxite.com/archives/0000192901.htm</link><guid>http://www.foxite.com/archives/0000192901.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi Foxers,&lt;br /&gt;&lt;br /&gt;I remember to have ssen some years ago a function that copies a certain VIEW, and allows to change the WHERE clause of it, bringing the possibility of a better customization for certain situations.&lt;br /&gt;&lt;br /&gt;I know I can use SPT or CursorAdapters for this, but I'd like to try the VIEWS aproach too.&lt;br /&gt;&lt;br /&gt;Does someone have this function ?&lt;br /&gt;&lt;br /&gt;Thanks in advance !&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Cesar&lt;br /&gt;&lt;a target='_blank' href="http://weblogs.foxite.com/vfpimaging"&gt;My Blog&lt;/a&gt;</description><author>Cesar&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 23:32:37 +0100</pubDate></item><item><title>Classes and Objects: using lightbox class for _screen                                                                    </title><link>http://www.foxite.com/archives/0000192652.htm</link><guid>http://www.foxite.com/archives/0000192652.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi All,&lt;br /&gt;how to suite lightbox class using for _screen ?&lt;br /&gt;i've tried something but was not succesful &lt;br /&gt;i wantto also use this class whie exiting from my .app&lt;br /&gt;&lt;br /&gt;TIA&lt;br /&gt;&lt;br /&gt;Soykan OZCELIK&lt;br /&gt;Developer/ Programmer/Analyst</description><author>Soykan OZCELIK&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 12:44:26 +0100</pubDate></item><item><title>Grids: view date instead of datetime in grid                                                               </title><link>http://www.foxite.com/archives/0000192864.htm</link><guid>http://www.foxite.com/archives/0000192864.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;In my grid (read only) with multiple records I have a column with datetime values of which I only want to display the date.&lt;br /&gt;Setting the column's controlsource to ttod(datetimefield) and the format do "D" in the grid's properties doesn't help, the time is still displayed.&lt;br /&gt;How do I get rid of the time (only in the display of this grid)?&lt;br /&gt;&lt;br /&gt;Regards, Gerrit</description><author>gerrit broekhuis&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 15:24:14 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: Server Based Applications                                                                           </title><link>http://www.foxite.com/archives/0000192757.htm</link><guid>http://www.foxite.com/archives/0000192757.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Dear MASTER/Sirs,&lt;br /&gt;&lt;br /&gt;I am one of those who are learning VFP, and foxite is my institute and source of knowledge. I seek your guidance and kind attention (once again) for the following:&lt;br /&gt;&lt;br /&gt;I never experienced how to make some application to run over SQL server or via ODBC server (I really don't know what is ODBC actually). So far, I am able to make some kind of 'kid' applications to improve my knowledge and experience about VFP.&lt;br /&gt;What should I do to understand how to share databases over a network? There are some sample codes/applications somewhere available to understand me what 'logic' is behind and how to manage my application to work over a network sharing tables among few users?&lt;br /&gt;&lt;br /&gt;My first question comes from mind like this;&lt;br /&gt;I open a table in this way, in single user environment:&lt;br /&gt;&lt;br /&gt;use "c:\myprojects\tables\table_1" &lt;br /&gt;&lt;br /&gt;How to do it using SQL server or ODBC?&lt;br /&gt;&lt;br /&gt;Hope you can understand what I actually need to know.&lt;br /&gt;&lt;br /&gt;(My questions might feel you a little harder to understand than VFP itself :)   )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;Irfan.</description><author>Mohammad Irfan&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 06:05:25 +0100</pubDate></item><item><title>Reports and Printers: Report Summary Band at bottom of page.                                                              </title><link>http://www.foxite.com/archives/0000192919.htm</link><guid>http://www.foxite.com/archives/0000192919.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;(VFP9 SP2)&lt;br /&gt;&lt;br /&gt;On my reports, how can I make the Summary Band flush with the BOTTOM of the the last page of the report?  It will mean having an unknown amount of white space from the last detail record.  The last page may have only 2 or 3 detail records, or it my fill 75% of the page. Either way, I still want the Summary Band all the way at the bottom of the page. The Summary Band spans about 1" of vertical space on the report.&lt;br /&gt;&lt;br /&gt;I have tried putting it in a Page Footer, and setting the "Print When" to make it print only on the last page, but when you do it hat way, the space allocated at the bottom of every page, and I don't like that. (If haven't tried this method since upgrading to VFP9, so maybe that behavior is different now, but I doubt it.)</description><author>Matt Slay&lt;invalid-address@foxite.com&gt;</author><pubDate>Sat, 06 Sep 2008 04:07:25 +0100</pubDate></item><item><title>Win32API programming: Return Focus to active window                                                                       </title><link>http://www.foxite.com/archives/0000192683.htm</link><guid>http://www.foxite.com/archives/0000192683.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;I have created a popup screen showing the client info from our backend database when an incoming phone number (CLI) is identified.&lt;br /&gt;&lt;br /&gt;Problem is that the popup screen receives the focus and whatever the user was doing is interrupted.&lt;br /&gt;&lt;br /&gt;Goal is to create a popup info screen that doesn't take the focus or that returns the focus to the previous active program. That way, the user can finish the text he was typing before answering the phone.&lt;br /&gt;&lt;br /&gt;Any idea's?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;Jasper de Graaf</description><author>Jasper de Graaf&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 16:46:55 +0100</pubDate></item><item><title>Install &amp; Config. issues: Replace icon in Inno Setup                                                                          </title><link>http://www.foxite.com/archives/0000192903.htm</link><guid>http://www.foxite.com/archives/0000192903.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Using Inno Setup to do an install:&lt;br /&gt;&lt;br /&gt;My client wants the version name from the EXE to show up in the desktop icon. I've figured out how to do that, but the problem now is that when you do a new install, it leaves the old icon on the desktop in addition to the new one. How do I get Inno Setup to remove the old icon when the name isn't exactly the same?&lt;br /&gt;&lt;br /&gt;&lt;nbsp;&gt;&lt;nbsp;&gt;-BP&lt;br /&gt;  &lt;a rel='nofollow' target='_blank' href="http://www.peisch.com"&gt;www.peisch.com&lt;/a&gt;</description><author>Barbara Peisch&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 23:59:16 +0100</pubDate></item><item><title>Reports and Printers: Changing Default Printers                                                                           </title><link>http://www.foxite.com/archives/0000192784.htm</link><guid>http://www.foxite.com/archives/0000192784.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;I have several reports actually hundred reports in my system that was always printing in their default printers, they need to set the default printer first before logging in the system but of course sometimes the user forgot setting it up, i want my system have a utility to change the default printer without closing the system.&lt;br /&gt;&lt;br /&gt;i try..&lt;br /&gt;&lt;br /&gt;report form myreport to printer prompt noconsole&lt;br /&gt;&lt;br /&gt;* its running but it will also need to change all the report [almost hundred huh?]&lt;br /&gt;&lt;br /&gt;Thanks and more power!</description><author>JAYEM SANCHO&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 09:15:13 +0100</pubDate></item><item><title>Forms: help me analyze                                                                                     </title><link>http://www.foxite.com/archives/0000192766.htm</link><guid>http://www.foxite.com/archives/0000192766.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hello all,&lt;br /&gt;&lt;br /&gt;Can someone help me analyze this. I have to make code for saving and editing person's record.&lt;br /&gt;Persons with same first 2 numbers in their ID, they are in the same group.&lt;br /&gt;ex person's id in same group: 110 and 111&lt;br /&gt;&lt;br /&gt;In my form there is an optiongroup button with 2 options ( 'Kina' and 'Ika'), if one of the group chooses 'Kina', it is not allowed to other persons, they are now 'Ika'.&lt;br /&gt;&lt;br /&gt;I made a form's property 'KinaIka'&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;If&lt;/font&gt; &lt;font color="Blue"&gt;This&lt;/font&gt;.Option1.&lt;font color="Blue"&gt;Value&lt;/font&gt; == 1
  &lt;font color="Blue"&gt;Thisform&lt;/font&gt;.KinaIka = Kina
&lt;font color="Blue"&gt;Endif&lt;/font&gt;

&lt;font color="Blue"&gt;If&lt;/font&gt; &lt;font color="Blue"&gt;This&lt;/font&gt;.Option2.&lt;font color="Blue"&gt;Value&lt;/font&gt; == 1
  &lt;font color="Blue"&gt;Thisform&lt;/font&gt;.KinaIka = Ika
&lt;font color="Blue"&gt;Endif&lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In my save command; where thegroup is the value retrieved from checking if they are in the same group&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;thisform&lt;/font&gt;.KinaIka == Kina
   &lt;font color="Blue"&gt;SQLPREPARE&lt;/font&gt;( gnSQLID, &lt;font color="Black"&gt;"SELECT * from tblperson p WHERE p.personid = ?thegroup"&lt;/font&gt;, &lt;font color="Black"&gt;"SQLRESULT"&lt;/font&gt; ) 
   &lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;SQLEXEC&lt;/font&gt;( gnSQLID ) &amp;lt;&amp;gt; -1
      &lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;RECCOUNT&lt;/font&gt;(&lt;font color="Black"&gt;"SQLRESULT"&lt;/font&gt;) &amp;gt; 0
         &lt;font color="Blue"&gt;messagebox&lt;/font&gt; (&lt;font color="Black"&gt;"Kina is already selected for that group!"&lt;/font&gt;)
         &lt;font color="Blue"&gt;return&lt;/font&gt; .F.
      &lt;font color="Blue"&gt;endif&lt;/font&gt;
   &lt;font color="Blue"&gt;endif&lt;/font&gt;
&lt;font color="Blue"&gt;endif&lt;/font&gt;

&lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;thisform&lt;/font&gt;.AppendRecord
&lt;font color="Green" family="Courier New"&gt;   &amp;amp;&amp;amp;check if person's ID, exit it it exists&lt;/font&gt;
   &lt;font color="Blue"&gt;select&lt;/font&gt; &lt;font color="Black"&gt;"tblperson"&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;   &amp;amp;&amp;amp;append follows&lt;/font&gt;
&lt;font color="Blue"&gt;endif&lt;/font&gt;

&lt;font color="Blue"&gt;select&lt;/font&gt; &lt;font color="Black"&gt;"tblperson"&lt;/font&gt;

&lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;Rlock&lt;/font&gt;(&lt;font color="Black"&gt;"tblperson"&lt;/font&gt;) 
   &lt;font color="Blue"&gt;if&lt;/font&gt; &lt;font color="Blue"&gt;ThisForm&lt;/font&gt;.EditRecord 
&lt;font color="Green" family="Courier New"&gt;      &amp;amp;&amp;amp;edit follows&lt;/font&gt;
   &lt;font color="Blue"&gt;endif&lt;/font&gt;

   &lt;font color="Blue"&gt;unlock&lt;/font&gt; &lt;font color="Blue"&gt;in&lt;/font&gt; &lt;font color="Black"&gt;"tblperson"&lt;/font&gt;
   &lt;font color="Blue"&gt;TableUpdate&lt;/font&gt;(.T.)
&lt;font color="Blue"&gt;endif&lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;My problem is when right after saving Kina person, I would like to edit it into Ika, can someone give me a pseudocode?&lt;br /&gt;&lt;br /&gt;Thank you and God bless.. :-)</description><author>reevimae olea&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 07:41:41 +0100</pubDate></item><item><title>Forms: combox controlsource does not function                                                              </title><link>http://www.foxite.com/archives/0000192857.htm</link><guid>http://www.foxite.com/archives/0000192857.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hello all,&lt;br /&gt;&lt;br /&gt;I have a combobox which controlsource is m.address1&lt;br /&gt;&lt;br /&gt;I have a btnSearch in my form&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;select&lt;/font&gt; &lt;font color="Black"&gt;"cursortblPerson"&lt;/font&gt;
&lt;font color="Blue"&gt;scatter&lt;/font&gt; &lt;font color="Blue"&gt;memvar&lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;All other data were displayed in the form's textboxes, only the combo does not, will it affect if the combo's rowsource is an array?&lt;br /&gt;&lt;br /&gt;Thank you and God bless.. :-)</description><author>reevimae olea&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 14:35:07 +0100</pubDate></item><item><title>Classes and Objects: default value in text box                                                                           </title><link>http://www.foxite.com/archives/0000192745.htm</link><guid>http://www.foxite.com/archives/0000192745.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hello.&lt;br /&gt;&lt;br /&gt;I'd like to make a default value in a textbox and I want to use that textbox again in a new form. I haven't really tried on classes on objects, maybe you could give me a guide on how to start. Thanks in advance.</description><author>reteece rhu salubre&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 03:56:45 +0100</pubDate></item><item><title>Reports and Printers: PDF Problem caused by REPORTBEHAVIOR 90                                                             </title><link>http://www.foxite.com/archives/0000192822.htm</link><guid>http://www.foxite.com/archives/0000192822.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi experts,&lt;br /&gt;&lt;br /&gt;I have encountered a strange problem: When I changed the REPORTBEHAVIOUR from 80 to 90 to use the new reportlisteners the conversion of the reports to PDF does not work any more. The page preview of the report is working fine, as well as normal printing on our office printer. When I select a PDF printer the PDF is created and objects like lines are visible but no text can be seen. Not saving the printer settings together with the report as already suggested in this forum did not help.&lt;br /&gt;&lt;br /&gt;The code I used to preview the report with the new VFP9 reportlisteners is the following:&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
loListener = &lt;font color="Blue"&gt;NEWOBJECT&lt;/font&gt;(&lt;font color="Black"&gt;"_ReportListener"&lt;/font&gt;,&lt;font color="Black"&gt;"_reportlistener.vcx"&lt;/font&gt;)
loListener.LISTENERTYPE = 1
loListener.PRINTJOBNAME = &lt;font color="Black"&gt;"MyJobName"&lt;/font&gt;
oPreview = &lt;font color="Blue"&gt;NEWOBJECT&lt;/font&gt;(&lt;font color="Black"&gt;"frxpreviewinscreen"&lt;/font&gt;,&lt;font color="Black"&gt;"frxpreview"&lt;/font&gt;)
loListener.PreviewContainer = oPreview
&lt;font color="Blue"&gt;REPORT&lt;/font&gt; &lt;font color="Blue"&gt;FORM&lt;/font&gt; (cMyReportFile) &lt;font color="Blue"&gt;OBJECT&lt;/font&gt; loListener &lt;font color="Blue"&gt;TO&lt;/font&gt; &lt;font color="Blue"&gt;PRINTER&lt;/font&gt; &lt;font color="Blue"&gt;PROMPT&lt;/font&gt; &lt;font color="Blue"&gt;PREVIEW&lt;/font&gt; 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The old code I used before with REPORTBEHAVIOUR 80 was:&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;DO&lt;/font&gt; &lt;font color="Blue"&gt;FORM&lt;/font&gt; Seitenansicht &lt;font color="Blue"&gt;NAME&lt;/font&gt; oPreview &lt;font color="Blue"&gt;NOSHOW&lt;/font&gt;
oPreview.&lt;font color="Blue"&gt;CAPTION&lt;/font&gt;=&lt;font color="Black"&gt;"Seitenansicht"&lt;/font&gt;
&lt;font color="Blue"&gt;REPORT&lt;/font&gt; &lt;font color="Blue"&gt;FORM&lt;/font&gt; (cMyReportFile) &lt;font color="Blue"&gt;TO&lt;/font&gt; &lt;font color="Blue"&gt;PRINTER&lt;/font&gt; &lt;font color="Blue"&gt;PROMPT&lt;/font&gt; &lt;font color="Blue"&gt;PREVIEW&lt;/font&gt; &lt;font color="Blue"&gt;WINDOW&lt;/font&gt; Seitenansicht 
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Raphael</description><author>Raphael Stueer&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 12:02:37 +0100</pubDate></item><item><title>General VFP Topics: Access Data Base                                                                                    </title><link>http://www.foxite.com/archives/0000192789.htm</link><guid>http://www.foxite.com/archives/0000192789.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi all&lt;br /&gt;I want to use access data base in my all old and new VPF project, I can connect to access data base and I can create views, mostly I m using GO TOP, GO BOTTOM, REPLACE, &lt;br /&gt;APPEND BLANK Commands, but when I m using Access Database in my old projects when fire  GO BOTTOM command VFP showing message ?connection error [Microsoft][ODBC Micro soft Access Driver ] syntax error in INSERT INTO statement.?.  Please help me and suggest which type of command I can use in my new or old projects</description><author>Khushboo Reed&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 09:32:53 +0100</pubDate></item><item><title>Reports and Printers: Hanging Indention format in report                                                                  </title><link>http://www.foxite.com/archives/0000192808.htm</link><guid>http://www.foxite.com/archives/0000192808.htm</guid><description>Version: Visual FoxPro 8&lt;br /&gt;&lt;br /&gt;Hello evrybody!&lt;br /&gt;&lt;br /&gt;Pls help in with my report using visual foxpro8. I am having trouble with the HANGING INDENTION FORMAT in my report..coz i have this group of words, stored in a certain variable, then i want it to be formatted in A HANGING INDENTION PARAGRAPH FORMAT WHEN IT IS PRINTED ON MY REPORT.PLS HELP ME</description><author>Lowell Asis&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 10:50:41 +0100</pubDate></item><item><title>Errors &amp; Debugging: C0000005 error while printing a report                                                              </title><link>http://www.foxite.com/archives/0000192843.htm</link><guid>http://www.foxite.com/archives/0000192843.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;&lt;br /&gt;I change an image in a report and now VFP9 throw C0000005 error when I print it.&lt;br /&gt;&lt;br /&gt;May you help me, please ?</description><author>GODRECH Judith&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 13:53:24 +0100</pubDate></item><item><title>Errors &amp; Debugging: OLE 0x80010105 server threw an exception                                                            </title><link>http://www.foxite.com/archives/0000192725.htm</link><guid>http://www.foxite.com/archives/0000192725.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;First let me say that I'm not a developer.  I'm the VP of services and support and I'm trying to figure out why a number of our clients are getting the following error: "OLE error code 0x80010105: The server threw an exception. frmReport  Error: 1426 Method: savefile Line: 7"  &lt;br /&gt;&lt;br /&gt;In our program (VFP 9 SP1) you can produce reports and mailings, two different screens, but they use essentially the same code (they both use the same class).  Our clients can go to the mailing screen and output to Excel with no problem.  However, when they go to the report screen and try to output to Excel they get the error above.  Below is the code for both the report and mailing screen.  Does anyone see anything that would cause this error?  The funny thing is that one day our clients are exporting reports to Excel no problem, the next day they can?t.  I thought it might be a MS security update or something, but have had no luck figuring out what?s going on.  There are about 50 or so clients with the same issue, but there is no common thread other than this error.  Some have Office 07, some have Office 03.  Some are using Vista, others XP.  Most of our 1000 plus clients are fine, it's this small number of 50 or so that are having problems.  &lt;br /&gt;&lt;br /&gt;Code For Reports:&lt;br /&gt;&lt;br /&gt;lparameters lcExcelHeader, lnFcount&lt;br /&gt;&lt;br /&gt;LOCAL lcExcelFile, lnReport, lnRow, lnColumns, lnColumnHeadersRow, lnSheet1Row, lnFirstDataRow, lnLastDataRow, lcTitleRows, lcPrintArea&lt;br /&gt;&lt;br /&gt;WITH THISFORM&lt;br /&gt;      IF !.OpenExcel()&lt;br /&gt;            RETURN&lt;br /&gt;      ENDIF&lt;br /&gt;&lt;br /&gt;      lcExcelFile = .oExcel.ccExcelFile&lt;br /&gt;      lnReport = 1&lt;br /&gt;      lnRow = 1&lt;br /&gt;      .oExcel.SetupSheets(lnReport)&lt;br /&gt;      .oExcel.ActivateSheet(lnReport)&lt;br /&gt;      .oExcel.ccColumnFirst = .oExcel.ConvertColumn(1)&lt;br /&gt;      * If on proper table, don't have to pass lnFcount&lt;br /&gt;      if vartype(lnFcount) &lt;&gt; 'N'&lt;br /&gt;            lnFcount = fcount()&lt;br /&gt;      endif &lt;br /&gt;      &lt;br /&gt;      .oExcel.ccColumnLast = .oExcel.ConvertColumn(lnfcount)&lt;br /&gt;      .oExcel.AddHeader(lnRow, ;&lt;br /&gt;            ALLTRIM(pcOrgname), ;&lt;br /&gt;            .T., ;&lt;br /&gt;            .T.)&lt;br /&gt;      lnRow = lnRow + 1&lt;br /&gt;      .oExcel.AddHeader(lnRow, lcExcelHeader, .T., .T.)&lt;br /&gt;      lnRow = lnRow + 1&lt;br /&gt;      .oExcel.AddHeader(lnRow, pcReportTitle, .T., .T.)&lt;br /&gt;      .cReportFileName = sys(5) + curdir() + justfname(.cReportFilename)&lt;br /&gt;      oDataTable = .oExcel.coSheet.QueryTables.ADD("TEXT;"+.cReportFileName,.oExcel.coSheet.RANGE("A6"))&lt;br /&gt;                                                      &lt;br /&gt;*     oDataTable.NAME = UPPER(SUBSTR(.cReportFileName,RAT('\',.cReportFileName)+1,LEN(.cReportFileName)-RAT('\',.cReportFileName)-4))&lt;br /&gt;      oDataTable.Name = juststem(.cReportFileName)&lt;br /&gt;      oDataTable.FieldNames = .T.&lt;br /&gt;      oDataTable.RowNumbers = .F.&lt;br /&gt;      oDataTable.FillAdjacentFormulas = .F.&lt;br /&gt;      oDataTable.PreserveFormatting = .T.&lt;br /&gt;      oDataTable.RefreshOnFileOpen = .F.&lt;br /&gt;      oDataTable.RefreshStyle = 1&lt;br /&gt;      oDataTable.SavePassword = .F.&lt;br /&gt;      oDataTable.SaveData = .T.&lt;br /&gt;      oDataTable.AdjustColumnWidth = .T.&lt;br /&gt;      oDataTable.RefreshPeriod = 0&lt;br /&gt;      oDataTable.TextFilePromptOnRefresh = .F.&lt;br /&gt;      oDataTable.TextFilePlatform = 2&lt;br /&gt;      oDataTable.TextFileStartRow = 1&lt;br /&gt;      oDataTable.TextFileParseType = 1&lt;br /&gt;      oDataTable.TextFileTextQualifier = 1  &amp;&amp;xlTextQualifierDoubleQuote&lt;br /&gt;      oDataTable.TextFileConsecutiveDelimiter = .F.&lt;br /&gt;      oDataTable.TextFileTabDelimiter = .T.&lt;br /&gt;      oDataTable.TextFileSemicolonDelimiter = .F.&lt;br /&gt;      IF !EMPTY(THISFORM.cColumnDataTypes)&lt;br /&gt;            oDataTable.TextFileColumnDataTypes = THISFORM.cColumnDataTypes&lt;br /&gt;      ENDIF&lt;br /&gt;      oDataTable.TextFileCommaDelimiter = .T.&lt;br /&gt;      oDataTable.TextFileSpaceDelimiter = .F.&lt;br /&gt;&lt;br /&gt;       oDataTable.REFRESH(.F.)&lt;br /&gt;&lt;br /&gt;      .oExcel.ActivateSheet(1)&lt;br /&gt;      IF !EMPTY(THISFORM.txtfilename.VALUE)&lt;br /&gt;            .oExcel.SaveFile(.F.)&lt;br /&gt;      ENDIF&lt;br /&gt;.oExcel.coExcel.Visible = .T.&lt;br /&gt;&lt;br /&gt;.oExcel.DESTROY()&lt;br /&gt;.oExcel = .NULL.&lt;br /&gt;&lt;br /&gt;ENDWITH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Where openexcel is :&lt;br /&gt;&lt;br /&gt;THISFORM.oExcel=CREATEOBJECT('edeExcel',THISFORM)&lt;br /&gt;IF TYPE('THISFORM.oExcel') = 'O'&lt;br /&gt;      IF !EMPTY(THISFORM.txtfilename.VALUE)&lt;br /&gt;            lcFileName1=ALLTRIM(THISFORM.txtDir.VALUE)+ALLTRIM(THISFORM.txtfilename.VALUE)&lt;br /&gt;            IF UPPER(RIGHT(ALLTRIM(lcFileName1),4)) &lt;&gt; ".XLS" AND UPPER(RIGHT(ALLTRIM(lcFileName1),5)) &lt;&gt; '.XLS"'&lt;br /&gt;                  lcFilename2 = STRTRAN(lcFileName1,'"','') + ".XLS"&lt;br /&gt;                  lcFileName2 = THISFORM.CheckFile(lcFileName2,.t.)&lt;br /&gt;                  IF EMPTY(lcFileName2)&lt;br /&gt;                        RETURN .F.&lt;br /&gt;                  ENDIF&lt;br /&gt;                  lcFilename2 = IIF(' '$lcFilename2,'"'+lcFilename2+'"',lcFilename2)&lt;br /&gt;            ELSE &lt;br /&gt;                  lcFileName2 = lcFileName1&lt;br /&gt;            ENDIF&lt;br /&gt;            lcFileName2 = STRTRAN(lcFileName2,'"','')&lt;br /&gt;      ENDIF&lt;br /&gt;      IF ISNULL(THISFORM.oExcel.coExcel)&lt;br /&gt;            THISFORM.oExcel.CreateExcelObject(.F.)&lt;br /&gt;      ENDIF&lt;br /&gt;      THISFORM.oExcel.CreateWorkBook()&lt;br /&gt;      IF !EMPTY(THISFORM.txtfilename.VALUE)&lt;br /&gt;            THISFORM.oExcel.ccExcelFile = lcFileName2&lt;br /&gt;      ENDIF&lt;br /&gt;ELSE&lt;br /&gt;      =MESSAGEBOX('Could not open Excel',48,"Reports")&lt;br /&gt;      RETURN .F.&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;RETURN .T.&lt;br /&gt;&lt;br /&gt;______________________________________________________________________________________________________________&lt;br /&gt;Code For Mailings:&lt;br /&gt;&lt;br /&gt;THISFORM.oExcel=CREATEOBJECT('edeExcel',THISFORM)&lt;br /&gt;IF TYPE('THISFORM.oExcel') = 'O'&lt;br /&gt;      WITH THISFORM&lt;br /&gt;            IF ISNULL(THISFORM.oExcel.coExcel)&lt;br /&gt;                  .oExcel.CreateExcelObject(.F.)&lt;br /&gt;            ENDIF&lt;br /&gt;            .oExcel.CreateWorkBook()&lt;br /&gt;            IF !EMPTY(.cFinalOutput)&lt;br /&gt;                  .oExcel.ccExcelFile = .cFinalOutput&lt;br /&gt;            ENDIF&lt;br /&gt;&lt;br /&gt;            lnReport = 1&lt;br /&gt;            lnRow = 1&lt;br /&gt;            .oExcel.SetupSheets(lnReport)&lt;br /&gt;            .oExcel.ActivateSheet(lnReport)&lt;br /&gt;&lt;br /&gt;            oDataTable = .oExcel.coSheet.QueryTables.ADD("TEXT;"+.cFinalTextFile,.oExcel.coSheet.RANGE("A1"))&lt;br /&gt;&lt;br /&gt;            oDataTable.NAME = UPPER(SUBSTR(.cFinalTextFile,RAT('\',.cFinalTextFile)+1,LEN(.cFinalTextFile)-RAT('\',.cFinalTextFile)-4))&lt;br /&gt;            oDataTable.FieldNames = .T.&lt;br /&gt;            oDataTable.RowNumbers = .F.&lt;br /&gt;            oDataTable.FillAdjacentFormulas = .F.&lt;br /&gt;            oDataTable.PreserveFormatting = .T.&lt;br /&gt;            oDataTable.RefreshOnFileOpen = .F.&lt;br /&gt;            oDataTable.RefreshStyle = 1&lt;br /&gt;            oDataTable.SavePassword = .F.&lt;br /&gt;            oDataTable.SaveData = .T.&lt;br /&gt;            oDataTable.AdjustColumnWidth = .T.&lt;br /&gt;            oDataTable.RefreshPeriod = 0&lt;br /&gt;            oDataTable.TextFilePromptOnRefresh = .F.&lt;br /&gt;            oDataTable.TextFilePlatform = 2&lt;br /&gt;            oDataTable.TextFileStartRow = 1&lt;br /&gt;            oDataTable.TextFileParseType = 1&lt;br /&gt;            oDataTable.TextFileTextQualifier = 1  &amp;&amp;xlTextQualifierDoubleQuote&lt;br /&gt;            oDataTable.TextFileConsecutiveDelimiter = .F.&lt;br /&gt;            oDataTable.TextFileTabDelimiter = .T.&lt;br /&gt;            oDataTable.TextFileSemicolonDelimiter = .F.&lt;br /&gt;        oDataTable.TextFileColumnDataTypes = THISFORM.cColumnDataTypes&lt;br /&gt;            oDataTable.TextFileCommaDelimiter = .T.&lt;br /&gt;            oDataTable.TextFileSpaceDelimiter = .F.&lt;br /&gt;&lt;br /&gt;            oDataTable.REFRESH(.F.)&lt;br /&gt;&lt;br /&gt;            .oExcel.ActivateSheet(1)&lt;br /&gt;            IF !.lNoFileName&lt;br /&gt;                  .oExcel.SaveFile(.F.)&lt;br /&gt;            ENDIF&lt;br /&gt;            .oExcel.coExcel.VISIBLE = .T.&lt;br /&gt;&lt;br /&gt;            .oExcel.DESTROY()&lt;br /&gt;            .oExcel = .NULL.&lt;br /&gt;      ENDWITH&lt;br /&gt;ELSE&lt;br /&gt;      =MESSAGEBOX('Could not open Excel')&lt;br /&gt;      RETURN .F.&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;RETURN .T.</description><author>Sean Steele&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 00:11:43 +0100</pubDate></item><item><title>Projects and Design: Calculation of Ending Stock                                                                         </title><link>http://www.foxite.com/archives/0000192815.htm</link><guid>http://www.foxite.com/archives/0000192815.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;FiFo Accouting Method for calculation of Cost of Item&lt;br /&gt;&lt;br /&gt;Purchase of item &lt;br /&gt;&lt;br /&gt;Qty*Rate=Amt&lt;br /&gt;&lt;br /&gt;1)130*65=8450&lt;br /&gt;2)036*60=2160&lt;br /&gt;x)-----------&lt;br /&gt;&lt;br /&gt;Total&lt;br /&gt;x)166---=10610&lt;br /&gt;&lt;br /&gt;When divide 10610 with 166 then outcome of rate is  &lt;br /&gt;&lt;br /&gt;Here Rate 63.9156626506&lt;br /&gt;&lt;br /&gt;Now if i round it 2 decimals rate 63.92&lt;br /&gt;&lt;br /&gt;When Multiply with Qty*Rate=Amt (166*63.92=10610.72) &lt;br /&gt;&lt;br /&gt;If there are 3000 items in stock table then diffrence is upto 800 to 1000 Rupees  &lt;br /&gt;&lt;br /&gt;Suppose no sale transaction occurs only purchase exsist&lt;br /&gt;&lt;br /&gt;Our &lt;B&gt;Cost of goods available for sale &lt;/B&gt;&amp; &lt;B&gt;Merchandise Inventory Ending&lt;/B&gt; figure differ&lt;br /&gt;instead of same and end result of &lt;B&gt;Cost of Goods sold&lt;/B&gt; &lt;br /&gt;&lt;br /&gt;C.G.A.S = 10610.00&lt;br /&gt;M.I.E-- = 10610.72&lt;br /&gt;&lt;br /&gt;C.G.S   = 0.72&lt;br /&gt;&lt;br /&gt;How can i handle this differnce of calculation of item cost price and ending amt&lt;br /&gt;&lt;br /&gt;I have checked on upto 6 decimals rate but diffrence remain but in less amount</description><author>Khurram Tahir&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 11:27:14 +0100</pubDate></item><item><title>Active X Controls &amp; OLE Automation: MSChart20Lib SeriesCollection problem                                                               </title><link>http://www.foxite.com/archives/0000192706.htm</link><guid>http://www.foxite.com/archives/0000192706.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hello everybody,&lt;br /&gt;&lt;br /&gt;I am using mschart20lib into one of my applications. I wanted to access each data series in a bar chart using the following code:&lt;br /&gt;&lt;br /&gt;FOR EACH oVar IN ThisForm.oleChart.Plot.SeriesCollection&lt;br /&gt;	oVar.DataPoints(-1).Brush.FillColor.Set(210,230,255)&lt;br /&gt;ENDFOR&lt;br /&gt;&lt;br /&gt;Everything is working fine, until I have more than 4 bars in the chart. It gives the color to the first 4 and then nothing.&lt;br /&gt;&lt;br /&gt;What could be the problem?&lt;br /&gt;&lt;br /&gt;Thank you very much.&lt;br /&gt;Lucian I.</description><author>Lucian Ilea&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 20:12:03 +0100</pubDate></item><item><title>Forms: how to create log                                                                                   </title><link>http://www.foxite.com/archives/0000192740.htm</link><guid>http://www.foxite.com/archives/0000192740.htm</guid><description>Version: Visual FoxPro 7&lt;br /&gt;&lt;br /&gt;hi i need help from experts&lt;br /&gt;i want to create user activities log in forms&lt;br /&gt;i have data entry in network&lt;br /&gt;so i can track all user when they clicked "new", "edit" and "delete" the record&lt;br /&gt;all log goes to table&lt;br /&gt;i've already made the table&lt;br /&gt;but how to tracking user activities in a form?</description><author>Galuh Prasetyawan&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 03:21:53 +0100</pubDate></item><item><title>Win32API programming: Win32 API Set Printer Port                                                                          </title><link>http://www.foxite.com/archives/0000192643.htm</link><guid>http://www.foxite.com/archives/0000192643.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Anyone knows how to set the printer port programmatically using Win32 API Functions?  I am currently using the below function but it is very slow:&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;PROCEDURE&lt;/font&gt; _AssignPortToPrinter(tcPrintername &lt;font color="Blue"&gt;as&lt;/font&gt; &lt;font color="Blue"&gt;string&lt;/font&gt;,tcPortname &lt;font color="Blue"&gt;as&lt;/font&gt; &lt;font color="Blue"&gt;String&lt;/font&gt;)
lcPrinterName	= tcPrintername
		loLocator 		= &lt;font color="Blue"&gt;CREATEOBJECT&lt;/font&gt;(&lt;font color="Black"&gt;'WBEMScripting.SWBEMLocator'&lt;/font&gt;)
		loWMI 			= loLocator.ConnectServer()   	&lt;font color="Green" family="Courier New"&gt;&amp;amp;&amp;amp; local machine logged on user&lt;/font&gt;
		loWMI.Security_.ImpersonationLevel = 3   		&lt;font color="Green" family="Courier New"&gt;&amp;amp;&amp;amp; Impersonate &lt;/font&gt;
		lcPrinterName 	= &lt;font color="Blue"&gt;STRTRAN&lt;/font&gt;(lcPrinterName , &lt;font color="Black"&gt;"\"&lt;/font&gt;, &lt;font color="Black"&gt;"\\"&lt;/font&gt;)
		loPrinters 		=  loWMI.ExecQuery(&lt;font color="Black"&gt;"Select * from Win32_Printer WHERE Name LIKE '"&lt;/font&gt; + lcPrinterName + &lt;font color="Black"&gt;"%'"&lt;/font&gt;)
		lReturn 		= .T.
		&lt;font color="Blue"&gt;FOR&lt;/font&gt; &lt;font color="Blue"&gt;EACH&lt;/font&gt; loPrinter &lt;font color="Blue"&gt;in&lt;/font&gt; loPrinters	
			&lt;font color="Blue"&gt;WITH&lt;/font&gt; loPrinter
				.PortName = tcPortname
				.Put_ &lt;font color="Green" family="Courier New"&gt;&amp;amp;&amp;amp; Save Changes&lt;/font&gt;
			&lt;font color="Blue"&gt;ENDWITH&lt;/font&gt;
		&lt;font color="Blue"&gt;ENDFOR&lt;/font&gt; 
		&lt;font color="Blue"&gt;RETURN&lt;/font&gt; lReturn
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Thanks.</description><author>mike castillo&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 11:32:25 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: USE command                                                                                         </title><link>http://www.foxite.com/archives/0000192612.htm</link><guid>http://www.foxite.com/archives/0000192612.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Dear Sirs,&lt;br /&gt;&lt;br /&gt;I want to use this simple command but it gives error. Although I have confirmed syntax from HELP file and tried in several ways. Please guide me how to overcome it.&lt;br /&gt;&lt;br /&gt;Command:&lt;br /&gt;&lt;br /&gt;USE 'debit_vouchers' IN 'alMytable' AGAIN &lt;br /&gt;&lt;br /&gt;Error: Alias ALMYTABLE is not found&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Irfan</description><author>Mohammad Irfan&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 07:41:57 +0100</pubDate></item><item><title>General VFP Topics: Access Data Base                                                                                    </title><link>http://www.foxite.com/archives/0000192790.htm</link><guid>http://www.foxite.com/archives/0000192790.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi all&lt;br /&gt;I want to use access data base in my all old and new VPF project, I can connect to access data base and I can create views, mostly I m using GO TOP, GO BOTTOM, REPLACE, &lt;br /&gt;APPEND BLANK Commands, but when I m using Access Database in my old projects when fire  GO BOTTOM command VFP showing message ?connection error [Microsoft][ODBC Micro soft Access Driver ] syntax error in INSERT INTO statement.?.  Please help me and suggest which type of command I can use in my new or old projects</description><author>Khushboo Reed&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 09:33:25 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: deleting data from table                                                                            </title><link>http://www.foxite.com/archives/0000192771.htm</link><guid>http://www.foxite.com/archives/0000192771.htm</guid><description>Version: FoxPro 2.x for Windows&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;I have data in A that has similar key with table B&lt;br /&gt;Table A has about 1000 records while table B has about 3 million records&lt;br /&gt;I would like to delete all records in table B that are in table A&lt;br /&gt;&lt;br /&gt;What is the fastest way to do this in foxpro?&lt;br /&gt;&lt;br /&gt;Thank you &lt;br /&gt;Shadrack Mwaniki</description><author>Shadrack mwaniki&lt;invalid-address@foxite.com&gt;</author><pubDate>Fri, 05 Sep 2008 08:24:53 +0100</pubDate></item><item><title>Classes and Objects: Garbage Collection and dangling obj refs                                                            </title><link>http://www.foxite.com/archives/0000192591.htm</link><guid>http://www.foxite.com/archives/0000192591.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hi all, &lt;br /&gt;&lt;br /&gt;I am trying to get a handle on garbage collection in VFP. &lt;br /&gt;&lt;br /&gt;In my scenario, I have a form that has a custom control added to it. &lt;br /&gt;&lt;br /&gt;The custom control maintains a number of object references to Container objects that are created, within the control, at runtime, and these object references are stored as Properties of the control.&lt;br /&gt;&lt;br /&gt;eg. &lt;br /&gt;&lt;br /&gt;THISFORM.custControl.AddObject("Container1", "Container")&lt;br /&gt;THISFORM.custControl.ContainerOne = EVALUATE("THISFORM.custControl.Container1")&lt;br /&gt;&lt;br /&gt;Issues arise when I attempt to close the form, as the object references still exist, and as a result &lt;br /&gt;the form doesn't close. &lt;br /&gt;&lt;br /&gt;I have read that these are called "dangling object references" and need to be cleaned up before the form can successfully close.   So far so good. &lt;br /&gt;&lt;br /&gt;I know that I can create a GarbageCollect() method on the control that basically sets the custom Properties containing the obj refs to .NULL. and, provided that I call this method before the form closes, the form will close successfully. &lt;br /&gt;&lt;br /&gt;The question that I have is:  Is it possible for an object (GUI or otherwise) to detect when it is being destroyed and clean up its own object refs, without having to call a GarbageCollect() type method from the containing object ? &lt;br /&gt;&lt;br /&gt;Ultimately, I would like to be able to create a custom control, that includes properties that are object references, that can be dropped onto a form without having to modify code on the form.  ie. NOT have to call the GarbageCollect() method of the custom control within the Destroy() event of the form.&lt;br /&gt;&lt;br /&gt;I would have thought that this is the perfect functionality for the Destroy() event on the custom control, but due to the outstanding object references, the Destroy() event of the control doesn't fire.&lt;br /&gt;&lt;br /&gt;As it stands, it appears that it is the responsibility of Parent Object (in this case the form) to manually tell any contained objects to clean up after themselves, as the child object can't detect when it is being released.  &lt;br /&gt;&lt;br /&gt;To me this means that it is not possible to create a custom object or control that contains object refs that is fully self contained. ie. able to trigger and manage its own garbage collection. &lt;br /&gt;&lt;br /&gt;Can anyone set me straight ? &lt;br /&gt;&lt;br /&gt;cheers, &lt;br /&gt;Matt.&lt;br /&gt;&lt;br /&gt;Ver: VFP 6+</description><author>Matt Pegg&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 03:47:28 +0100</pubDate></item><item><title>Grids: Help with a lookup in a grid column.                                                                </title><link>http://www.foxite.com/archives/0000192684.htm</link><guid>http://www.foxite.com/archives/0000192684.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;I'm trying to get a GRID working for this scenario:&lt;br /&gt;&lt;br /&gt;Here are the relevant fields I will be asking about below:&lt;br /&gt;&lt;br /&gt;JobItem.iPartKey&lt;br /&gt;&lt;br /&gt;Parts.PartNo&lt;br /&gt;Part.ipkey&lt;br /&gt;&lt;br /&gt;I have a relation in place between JobItem.iPartKey-&gt;Parts.ipkey.&lt;br /&gt;&lt;br /&gt;As you can see, I have a JobItem table which stores a key (iPartKey) that points to they key of a Parts.ipkey. Now the user will not enter the key value (it is autoinc), rather, they will enter a part number which I need to lookup the corresponding "part key" for that part number in the Parts table and store the part key in JobItem.iPartKey.&lt;br /&gt;&lt;br /&gt;So I need to let them enter a part NUMBER in the column textbox, but I need to lookup that string in the Parts.PartNo, and get the Parts.ipkey, and strore that integer value in JobItem.iPartKey.&lt;br /&gt;&lt;br /&gt;In that column, I need to display Parts.PartNo, but the underlying value that makes it work is JobItem.iPartKey.&lt;br /&gt;&lt;br /&gt;I think I need to use the DynamicCurrentControl property to let the grid display the Parts.PartNo value, but I cannot get all the settings right to let me enter a value in the textbox, validate it (do the look up), set the JobItem.iPartKey, but display the Part.ParNo.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please help. What all do I need to support this structure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's the textbox.valid() code from my lookup textbox class that I have as one of the controls in the grid colum. After it validates the entered Part Number, I can then read the corresponding key value by referencing this.ipkey.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dimension laProperties(10)&lt;br /&gt;&lt;br /&gt;Local llValidated, lcLookup&lt;br /&gt;&lt;br /&gt;laProperties='' &amp;&amp; Blank out the entire array (char type)&lt;br /&gt;laProperties[1]=0 &amp;&amp; int type for iPartKey&lt;br /&gt;laProperties[4]=0.00 &amp;&amp; Numeric type for price&lt;br /&gt;laProperties[7]={  /  /  } &amp;&amp; Date type for date_added&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; IF !Empty(this.value)&lt;br /&gt;&lt;br /&gt; *-- Determine exact size of PartNo fields---&lt;br /&gt; lcPartNo=Padr(Alltrim(this.Value),Fsize('part_no', 'Parts'))&lt;br /&gt;&lt;br /&gt; *-- 2008-09-02: Added support for AltPPartNo lookup&lt;br /&gt;  Select iPkey, part_no, altpartno, dwg_no, price, cust_num ,vendor, date_added, makebuy;&lt;br /&gt;   From parts;&lt;br /&gt;   Where part_no==lcPartNo;&lt;br /&gt;   Into Array laProperties&lt;br /&gt;&lt;br /&gt;   If _tally=0&lt;br /&gt;     MessageBox('Part No not found.',16,'Notice:')&lt;br /&gt;    Else&lt;br /&gt;     llValidated=.t.&lt;br /&gt;    endif&lt;br /&gt;&lt;br /&gt;  Endif &lt;br /&gt;&lt;br /&gt;  this.ipkey=laProperties[1]&lt;br /&gt;  this.cPart_no=laProperties[2]&lt;br /&gt;  this.cAltPartNo=laProperties[3]&lt;br /&gt;  this.cDwg_no=laProperties[4]&lt;br /&gt;  this.nPrice=laProperties[5]&lt;br /&gt;  this.cCustno=laProperties[6]&lt;br /&gt;  this.cVendno=laProperties[7]&lt;br /&gt;  this.dDate_added=laProperties[8]&lt;br /&gt;  this.cMakeBuy=laProperties[9]&lt;br /&gt; &lt;br /&gt;  this.found=Iif(llValidated or Empty(this.value), 1, 0)&lt;br /&gt;  this.refresh&lt;br /&gt;  return (this.found)</description><author>Matt Slay&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 17:31:51 +0100</pubDate></item><item><title>Forms: SBT Pro 5.0 Help                                                                                    </title><link>http://www.foxite.com/archives/0000192552.htm</link><guid>http://www.foxite.com/archives/0000192552.htm</guid><description>Version: Visual FoxPro 5&lt;br /&gt;&lt;br /&gt;Hi, I am a noob that is searching the web for help with our ancient software.  We are running VFP 5.0 and SBT Pro 5.0i for our accounting/order processing.  My first question is: Are there any web sites around that have good information on how to customize forms in this software?  I have some reports that we use that I can go in and modify(move thing around, adjust fonts, other basically brainless activities)  I have managed to luck out and correctly guess how to add certain fields to reports that were not there, such as phone number and contact name.  I am stuck now on one problem in particular.  I want to add the phone number from the SHIP TO address listing to a sales order form that we print out.  I can get it to add the regular BILL TO phone number, but I can't figure out an expression to make it pull up the SHIP TO phone number.  Sorry if this question is below the general discussion of this board, but I am not having much luck finding answers elsewhere and our small, poor, family business can't afford to pay a consultant at this point.  Thanks!! Jason</description><author>Jason Thomas&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 17:42:52 +0100</pubDate></item><item><title>Classes and Objects: Extract comments from PRG &amp; SCX                                                                     </title><link>http://www.foxite.com/archives/0000192462.htm</link><guid>http://www.foxite.com/archives/0000192462.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Does anyone have any code or such that can be run on a project or directory or series of files, that will extract all comments - Lines beginning with &lt;pre class='codeblock'&gt;&lt;font color="Black"&gt;"*"&lt;/font&gt;
&lt;/pre&gt; ?&lt;br /&gt;&lt;br /&gt;When I say "extract" I mean find the lines of comments and remove them or move them to another text file.&lt;br /&gt;&lt;br /&gt;I have a need for this and could not find anything after much searching here and on Google.&lt;br /&gt;&lt;br /&gt;TIA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bernard&lt;br /&gt;&lt;br /&gt; &lt;I&gt;** If you see someone without a smile, give em one of yours :) **&lt;/I&gt;&lt;br /&gt;&lt;a target='_blank' href="http://weblogs.foxite.com/bernardbout"&gt;My Blog&lt;/a&gt; 8-)</description><author>Bernard Bout&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 01:33:22 +0100</pubDate></item><item><title>Forms: How Show back after issue thisfor.hide                                                              </title><link>http://www.foxite.com/archives/0000192470.htm</link><guid>http://www.foxite.com/archives/0000192470.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi, &lt;br /&gt;	How can i show back the form after have issues the .hide command? Please help Thank you.</description><author>Eric Puah&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 04:54:34 +0100</pubDate></item><item><title>General VFP Topics: Rude to post on Foxite and UT?                                                                      </title><link>http://www.foxite.com/archives/0000192685.htm</link><guid>http://www.foxite.com/archives/0000192685.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;I have been using Foxite a little more lately (been a heavy UT user for a while, and still am), so I've posting my questions here and on UT also.&lt;br /&gt;&lt;br /&gt;I've also started using the VFUG mailing list a little to ask questions.&lt;br /&gt;&lt;br /&gt;I know many people probably use all these alos, and I don't want to abuse these forums, but I do want to reach the widest audience possible for help.&lt;br /&gt;&lt;br /&gt;So, is it rude to post the same exact message in all these places at the same?</description><author>Matt Slay&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 17:37:25 +0100</pubDate></item><item><title>User Groups &amp; Online Communities: Philadelphia VFP User Group:Tues, Sept 9                                                            </title><link>http://www.foxite.com/archives/0000192713.htm</link><guid>http://www.foxite.com/archives/0000192713.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;The September meeting of the Philadelphia VFP User Group will take place Tuesday, September 9 at 7:00 PM at Valley Forge Pension Management, 715 Twining Road, Suite 202, Dresher, PA 19025. (Note: The Oreland offramp from PA 309 Southbound has been permanently closed. The easiest way to reach the meeting location from the PA Turnpike or 309 Southbound is to come through the Fort Washington Industrial Park.)&lt;br /&gt;&lt;br /&gt;As usual, you're welcome to bring some dinner and come as early as 6:30. &lt;br /&gt;&lt;br /&gt;Tamar Granor will be rehearsing her Southwest Fox session "We Used to Do it That Way, But ...". &lt;br /&gt;&lt;br /&gt;Each new version of Visual FoxPro has brought new ways to do things, but breaking old habits is hard. Now that the VFP language has stabilized, it's time to hone our skills. This session examines some of the changes in the language over the years and demonstrates that learning to use the newer constructs can result in better, more maintainable, faster code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tamar E. Granor, Ph.D., is the owner of Tomorrow's Solutions, LLC. She has developed and enhanced numerous Visual FoxPro applications for businesses and other organizations. She currently focuses on working with other developers through consulting and subcontracting. Tamar served as Editor of FoxPro Advisor magazine from 1994 to 2000 and was Technical Editor from 2000 to 2008. She served as co-author of the popular Advisor Answers column from 1993 to 2008. She has also written for FoxTalk, Code, and FoxRockX.&lt;br /&gt;&lt;br /&gt;Tamar is author or co-author of nine books including the award winning Hacker's Guide to Visual FoxPro and Microsoft Office Automation with Visual FoxPro. Her most recent books are Taming Visual FoxPro's SQL and What's New in Nine: Visual FoxPro's Latest Hits. Her books are available from Hentzenwerke Publishing (&lt;a target='_blank' href='http://www.hentzenwerke.com/' rel='nofollow'&gt;www.hentzenwerke.com&lt;/a&gt;). Her next collaboration, Making Sense of Sedna and SP2, will be published in 2008.&lt;br /&gt;&lt;br /&gt;Tamar is a Microsoft Certified Professional and a Microsoft Support Most Valuable Professional. Tamar speaks frequently about Visual FoxPro at conferences and user groups in North America and Europe, including every FoxPro DevCon since 1993.&lt;br /&gt;&lt;br /&gt;You can reach her at &lt;a href='mailto:tamar@thegranors.com'&gt;tamar@thegranors.com&lt;/a&gt; or through &lt;a target='_blank' href='http://www.tomorrowssolutionsllc.com/' rel='nofollow'&gt;www.tomorrowssolutionsllc.com&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note that we will have NO meeting in October, due to Southwest Fox.</description><author>Tamar Granor&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 22:58:42 +0100</pubDate></item><item><title>Forms: Parameters                                                                                          </title><link>http://www.foxite.com/archives/0000192693.htm</link><guid>http://www.foxite.com/archives/0000192693.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;hey guys &lt;br /&gt;&lt;br /&gt;problem is that i have to zip up some files but i got these parameters &lt;br /&gt;&lt;br /&gt;code is &lt;br /&gt;&lt;br /&gt;PARAMETERS lczipfile, lctozip1, lctozip2, lctozip3, lctargetunzip, lctargetunzipdata, lczipunzip, lcpassword&lt;br /&gt;&lt;br /&gt;problem is it tells me there unknown command verb in this bit of code any ideas</description><author>Tyrone Matthews&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 18:28:36 +0100</pubDate></item><item><title>User Groups &amp; Online Communities: Ken Levy joins EPS Software Corp, VFPCon                                                            </title><link>http://www.foxite.com/archives/0000192688.htm</link><guid>http://www.foxite.com/archives/0000192688.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;9/3/2008 &lt;br /&gt; &lt;br /&gt;Houston, Texas, - September 3rd 2008 ? For immediate release:&lt;br /&gt;&lt;br /&gt;Ken Levy is joining EPS Software Corp. in the role of an Evangelist for several EPS brands. Ken is the founder of MashupX LLC, and through his new partnership with EPS, Ken will focus on EPS? &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; effort as well as CoDe Magazine (the leading independent magazine for .NET developers) and EPS? custom software, mentoring, and consulting efforts around .NET and Microsoft server products. Ken is a renowned industry expert and was formerly at Microsoft driving community growth and evangelism for Visual FoxPro (VFP), Windows Live (developer platform), and Visual Studio Extensibility (VSX).&lt;br /&gt;&lt;br /&gt;Ken?s role in &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; focuses on educating companies with VFP applications as well as members of the VFP community who have an interest in utilizing other Microsoft products, such as Visual Studio, SQL Server, and/or the .NET Framework. Ken will represent &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; at various events and interact with the VFPConversion community directly. Ken will also spearhead the development of the &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; site and accelerate content development on that site. Due to his former role as Visual FoxPro Product Manager and Microsoft Community liaison, Ken has a very unique set of skills and knowledge which will now be available to the VFP community again.&lt;br /&gt;&lt;br /&gt;For CoDe Magazine, Ken?s role includes the development of content ideas and concepts in particular for CoDe Focus Magazine as well as CoDe Online properties. In the past, Ken has been involved in CoDe Focus content development at Microsoft, as CoDe works very closely with various groups and departments at Microsoft. In his new role, Ken will be instrumental in ensuring a steady stream of high-quality content for .NET developers. His role also involves him in the currently ongoing re-engineering and re-envisioning efforts of CoDe online properties, which will make CoDe an even richer online destination for .Net developers.&lt;br /&gt;&lt;br /&gt;Ken is also in charge of setting up a Seattle office for EPS Software Corp., which in addition to the aforementioned efforts will be used as a basis for EPS? custom software, consulting, and mentoring efforts revolving around .NET development, including core Visual Studio/.NET development as well as development with Microsoft Server Products, such as SQL Server and SharePoint.&lt;br /&gt;&lt;br /&gt;For more information, contact EPS at &lt;a href='mailto:info@eps-software.com'&gt;info@eps-software.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;About EPS Software Corp.&lt;br /&gt;EPS Software Corp. is a multi-national corporation founded by renowned industry expert Markus Egger. EPS is headquartered in Houston, TX (USA), with offices in North America and Europe. EPS specializes on consulting, mentoring, and custom software development based on the Microsoft developer platform, including Visual Studio (.NET), SQL Server, and other Microsoft server products, such as SharePoint. EPS is well known for its involvement in various community efforts. EPS is involved not just in sponsorship and trade shows, but also in the organization of various special interest groups. Many EPS employees are well known presenters at events of all sizes around the globe. EPS employees have received more Microsoft MVP awards than employees of any other company. EPS is also the owner of brands such as CoDe Magazine, &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt;, Milos Solution Platform, and Xiine (among others). ? &lt;a target='_blank' href='http://www.eps-software.com/' rel='nofollow'&gt;www.eps-software.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;About CoDe Magazine&lt;br /&gt;CoDe Magazine is the leading independent .NET developer print and online publication. CoDe Magazine provides in-depth articles for professional .NET developers. CoDe Magazine has received numerous industry awards. In addition to the main publication (which is printed on a regular schedule), CoDe also publishes CoDe Focus Magazine, which is a series of special issues focusing on specific technologies in each issue. Furthermore, CoDe includes various online properties that can be found on the CoDe Magazine web site. ? &lt;a target='_blank' href='http://www.code-magazine.com/' rel='nofollow'&gt;www.code-magazine.com&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;About &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt;&lt;br /&gt;&lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; is a community portal and service offering for current or former Visual FoxPro (VFP) developers with an interest in adopting newer Microsoft technologies such as Visual Studio, .NET, and/or Microsoft SQL Server. The &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; web site offers a wealth of free information such as articles and blogs. In addition, the &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; team can assist developers in assessing their current VFP applications and in converting them to, or enhancing them with the aforementioned new technologies. ? &lt;a target='_blank' href='http://www.vfpconversion.com/' rel='nofollow'&gt;www.VFPConversion.com&lt;/a&gt;</description><author>Patrick L&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 17:44:03 +0100</pubDate></item><item><title>General VFP Topics: Ken Levy joins EPS Software Corp, VFPCon                                                            </title><link>http://www.foxite.com/archives/0000192687.htm</link><guid>http://www.foxite.com/archives/0000192687.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;9/3/2008 &lt;br /&gt; &lt;br /&gt;Houston, Texas, - September 3rd 2008 ? For immediate release:&lt;br /&gt;&lt;br /&gt;Ken Levy is joining EPS Software Corp. in the role of an Evangelist for several EPS brands. Ken is the founder of MashupX LLC, and through his new partnership with EPS, Ken will focus on EPS? &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; effort as well as CoDe Magazine (the leading independent magazine for .NET developers) and EPS? custom software, mentoring, and consulting efforts around .NET and Microsoft server products. Ken is a renowned industry expert and was formerly at Microsoft driving community growth and evangelism for Visual FoxPro (VFP), Windows Live (developer platform), and Visual Studio Extensibility (VSX).&lt;br /&gt;&lt;br /&gt;Ken?s role in &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; focuses on educating companies with VFP applications as well as members of the VFP community who have an interest in utilizing other Microsoft products, such as Visual Studio, SQL Server, and/or the .NET Framework. Ken will represent &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; at various events and interact with the VFPConversion community directly. Ken will also spearhead the development of the &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; site and accelerate content development on that site. Due to his former role as Visual FoxPro Product Manager and Microsoft Community liaison, Ken has a very unique set of skills and knowledge which will now be available to the VFP community again.&lt;br /&gt;&lt;br /&gt;For CoDe Magazine, Ken?s role includes the development of content ideas and concepts in particular for CoDe Focus Magazine as well as CoDe Online properties. In the past, Ken has been involved in CoDe Focus content development at Microsoft, as CoDe works very closely with various groups and departments at Microsoft. In his new role, Ken will be instrumental in ensuring a steady stream of high-quality content for .NET developers. His role also involves him in the currently ongoing re-engineering and re-envisioning efforts of CoDe online properties, which will make CoDe an even richer online destination for .Net developers.&lt;br /&gt;&lt;br /&gt;Ken is also in charge of setting up a Seattle office for EPS Software Corp., which in addition to the aforementioned efforts will be used as a basis for EPS? custom software, consulting, and mentoring efforts revolving around .NET development, including core Visual Studio/.NET development as well as development with Microsoft Server Products, such as SQL Server and SharePoint.&lt;br /&gt;&lt;br /&gt;For more information, contact EPS at &lt;a href='mailto:info@eps-software.com'&gt;info@eps-software.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;About EPS Software Corp.&lt;br /&gt;EPS Software Corp. is a multi-national corporation founded by renowned industry expert Markus Egger. EPS is headquartered in Houston, TX (USA), with offices in North America and Europe. EPS specializes on consulting, mentoring, and custom software development based on the Microsoft developer platform, including Visual Studio (.NET), SQL Server, and other Microsoft server products, such as SharePoint. EPS is well known for its involvement in various community efforts. EPS is involved not just in sponsorship and trade shows, but also in the organization of various special interest groups. Many EPS employees are well known presenters at events of all sizes around the globe. EPS employees have received more Microsoft MVP awards than employees of any other company. EPS is also the owner of brands such as CoDe Magazine, &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt;, Milos Solution Platform, and Xiine (among others). ? &lt;a target='_blank' href='http://www.eps-software.com/' rel='nofollow'&gt;www.eps-software.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;About CoDe Magazine&lt;br /&gt;CoDe Magazine is the leading independent .NET developer print and online publication. CoDe Magazine provides in-depth articles for professional .NET developers. CoDe Magazine has received numerous industry awards. In addition to the main publication (which is printed on a regular schedule), CoDe also publishes CoDe Focus Magazine, which is a series of special issues focusing on specific technologies in each issue. Furthermore, CoDe includes various online properties that can be found on the CoDe Magazine web site. ? &lt;a target='_blank' href='http://www.code-magazine.com/' rel='nofollow'&gt;www.code-magazine.com&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;About &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt;&lt;br /&gt;&lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; is a community portal and service offering for current or former Visual FoxPro (VFP) developers with an interest in adopting newer Microsoft technologies such as Visual Studio, .NET, and/or Microsoft SQL Server. The &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; web site offers a wealth of free information such as articles and blogs. In addition, the &lt;a target='_blank' href='http://vfpconversion.com/' rel='nofollow'&gt;VFPConversion.com&lt;/a&gt; team can assist developers in assessing their current VFP applications and in converting them to, or enhancing them with the aforementioned new technologies. ? &lt;a target='_blank' href='http://www.vfpconversion.com/' rel='nofollow'&gt;www.VFPConversion.com&lt;/a&gt;</description><author>Patrick L&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 17:43:03 +0100</pubDate></item><item><title>Web Services: Send Mail With VFP. Can Do it ?                                                                     </title><link>http://www.foxite.com/archives/0000192617.htm</link><guid>http://www.foxite.com/archives/0000192617.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hello Expert&lt;br /&gt;&lt;br /&gt;I have a new XLS files that i want to send it as email attachment to anyone. can VFP do it with one click command?&lt;br /&gt;&lt;br /&gt;Thanks</description><author>anang&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 07:57:46 +0100</pubDate></item><item><title>Reports and Printers: Reportlistener won't preview in .EXE                                                                </title><link>http://www.foxite.com/archives/0000192666.htm</link><guid>http://www.foxite.com/archives/0000192666.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;I am using the reportlistener class to generate multiple reports into one report preview.  This works fine under development mode in VFP9.  However after I build the project into an executable nothing ever shows up.  It does the RunReports and I get an loListener.OutputPageCount of 6 after the reports are run, but nothing ever appears.  What do I need to do to have the preview show up in the executable?&lt;br /&gt;&lt;br /&gt;Here's the code...&lt;br /&gt;&lt;pre class='codeblock'&gt;
&lt;font color="Blue"&gt;LOCAL&lt;/font&gt; loListener,nLastReport,i

&lt;font color="Blue"&gt;SET&lt;/font&gt; &lt;font color="Blue"&gt;REPORTBEHAVIOR&lt;/font&gt; 90
loListener = &lt;font color="Blue"&gt;NEWOBJECT&lt;/font&gt;(&lt;font color="Black"&gt;"_ReportListener"&lt;/font&gt;,&lt;font color="Black"&gt;"KTB_Reportlistener.vcx"&lt;/font&gt;)
loListener.ListenerType = 1

&lt;font color="Blue"&gt;LOCAL&lt;/font&gt; cLastRepParm
cLastRepParm = &lt;font color="Black"&gt;'TO PRINTER PROMPT PREVIEW'&lt;/font&gt; &lt;font color="Green" family="Courier New"&gt;&amp;amp;&amp;amp; WINDOW PrintPrev'&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;* Need to know which report is the last report...&lt;/font&gt;
&lt;font color="Blue"&gt;FOR&lt;/font&gt; nLastReport = 6 &lt;font color="Blue"&gt;TO&lt;/font&gt; 1 &lt;font color="Blue"&gt;STEP&lt;/font&gt; -1
	&lt;font color="Blue"&gt;IF&lt;/font&gt; &lt;font color="Blue"&gt;THISFORM&lt;/font&gt;.Additional_reports_run&lt;font color="Black"&gt;[nLastReport]&lt;/font&gt;
		&lt;font color="Blue"&gt;EXIT&lt;/font&gt;
	&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
&lt;font color="Blue"&gt;ENDFOR&lt;/font&gt;	

&lt;font color="Green" family="Courier New"&gt;* Add generated reports to the listener with related cursor and report file.&lt;/font&gt;
&lt;font color="Blue"&gt;IF&lt;/font&gt; nLastReport = 0
	loListener.AddReport(HOME_DIR+&lt;font color="Black"&gt;'SerRep.frx'&lt;/font&gt;,cLastRepParm ,,&lt;font color="Black"&gt;"SERREP_DATA"&lt;/font&gt;)
&lt;font color="Blue"&gt;ELSE&lt;/font&gt;
	loListener.AddReport(HOME_DIR+&lt;font color="Black"&gt;'SeRRep.frx'&lt;/font&gt;,&lt;font color="Black"&gt;'NOPAGEEJECT'&lt;/font&gt;,,&lt;font color="Black"&gt;"SERREP_DATA"&lt;/font&gt;)
	&lt;font color="Blue"&gt;FOR&lt;/font&gt; i = 1 &lt;font color="Blue"&gt;TO&lt;/font&gt; 6
		&lt;font color="Blue"&gt;IF&lt;/font&gt; &lt;font color="Blue"&gt;THISFORM&lt;/font&gt;.Additional_Reports_Run&lt;font color="Black"&gt;[i]&lt;/font&gt;
			&lt;font color="Blue"&gt;IF&lt;/font&gt; i = 1 OR i = 3 OR i = 5
				loListener.AddReport(HOME_DIR+&lt;font color="Black"&gt;'DBLoadEff.Frx'&lt;/font&gt;,&lt;font color="Blue"&gt;IIF&lt;/font&gt;(i = nLastReport,cLastRepParm ,&lt;font color="Black"&gt;'NOPAGEEJECT'&lt;/font&gt;),,&lt;font color="Black"&gt;"DBLEREP"&lt;/font&gt;+&lt;font color="Blue"&gt;ALLTRIM&lt;/font&gt;(&lt;font color="Blue"&gt;STR&lt;/font&gt;(i+10)))
			&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
			&lt;font color="Blue"&gt;IF&lt;/font&gt; i = 2 OR i = 4
				loListener.AddReport(HOME_DIR+&lt;font color="Black"&gt;'DBOpEff.Frx'&lt;/font&gt;,&lt;font color="Blue"&gt;IIF&lt;/font&gt;(i = nLastReport,cLastRepParm ,&lt;font color="Black"&gt;'NOPAGEEJECT'&lt;/font&gt;),,&lt;font color="Black"&gt;"DBOEREP"&lt;/font&gt;+&lt;font color="Blue"&gt;ALLTRIM&lt;/font&gt;(&lt;font color="Blue"&gt;STR&lt;/font&gt;(i+10)))
			&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
			&lt;font color="Blue"&gt;IF&lt;/font&gt; i = 6
				loListener.AddReport(HOME_DIR+&lt;font color="Black"&gt;'Inv_Ad.Frx'&lt;/font&gt;,&lt;font color="Blue"&gt;IIF&lt;/font&gt;(i = nLastReport,cLastRepParm ,&lt;font color="Black"&gt;'NOPAGEEJECT'&lt;/font&gt;),,&lt;font color="Black"&gt;"REP_DATA"&lt;/font&gt;)
			&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;		
		&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
	&lt;font color="Blue"&gt;ENDFOR&lt;/font&gt;
&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;* Create the Print Preview window...&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*	IF VARTYPE(oPrintPrev) != 'O'&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*		PUBLIC oPrintPrev&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*		oPrintPrev = NEWOBJECT("Print_Preview","dbrepgraphs.vcx")&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*		WITH oPrintPrev&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*			.Name = "PrintPrev"&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*			.Caption = TTOC(SrHeader.Start_Date)+" Service Report Preview"&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*		ENDWITH&lt;/font&gt;
&lt;font color="Green" family="Courier New"&gt;*!*	ENDIF&lt;/font&gt;

&lt;font color="Blue"&gt;SET&lt;/font&gt; &lt;font color="Blue"&gt;STEP&lt;/font&gt; &lt;font color="Blue"&gt;ON&lt;/font&gt; 
&lt;font color="Green" family="Courier New"&gt;* Run the reports, which will convert DBOEREP## AND DBLEREP## Cursors and public Vars via the Setup_Report_Data method...&lt;/font&gt;

MSB(&lt;font color="Black"&gt;"RunReports"&lt;/font&gt;)
loListener.RunReports()
MSB(loListener.OutputPageCount)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;KTB</description><author>Ken Blum&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 15:04:14 +0100</pubDate></item><item><title>Reports and Printers: Report's textbox's properties' hotkey?                                                              </title><link>http://www.foxite.com/archives/0000192558.htm</link><guid>http://www.foxite.com/archives/0000192558.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Colleagues,&lt;br /&gt;&lt;br /&gt;Don't laugh at me for this one, OK? :-$ &lt;br /&gt;&lt;br /&gt;I, once, when working on a report in Report Designer, happened to bring up a textbox's Field Properties dialog screen with some keypress combination when some textbox was in focus. It was pure coincidence, my fingers just slipped and - Tah-Dah! - Field Properties sprang up on display. Apparently, there should be some shortcut/hotkey for that. It was not one of them Fn keys, it was Alt||Shift||Ctrl + some letter. Hard as I tried, I could not reproduce this keys combination and bring up Field Properties dialog up on screen with hotkey instead of double-clicking on a box. :-( &lt;br /&gt;&lt;br /&gt;Does anybody know what this hotkey combination is?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Ilya&lt;br /&gt;&lt;br /&gt;P.S. 5 min. later: if a box is in focus, and you press that "List With Pointer" key - the one just left of the right Ctrl key on your keyboard - it brings up the popup menu with P&lt;u&gt;r&lt;/u&gt;operties option on the bottom. It is close, but it is not exactly what I am after.</description><author>Ilya Rabyy&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 19:10:41 +0100</pubDate></item><item><title>Databases, Tables and SQL Server: convert to excel sheet                                                                              </title><link>http://www.foxite.com/archives/0000192642.htm</link><guid>http://www.foxite.com/archives/0000192642.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Hi all,&lt;br /&gt;&lt;br /&gt;i need to convert mytable to excel sheet2 or sheet 3 at excel book at ex.. c:\myfolder\excel book name&lt;br /&gt;&lt;br /&gt;this code from (Mr.Cetin) below convert to excel sheet,&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;
 &lt;font color="Blue"&gt;Use&lt;/font&gt; mytable
 gcDelimName = &lt;font color="Blue"&gt;ALIAS&lt;/font&gt;( ) + &lt;font color="Black"&gt;'.xls'&lt;/font&gt;
gcDelimFile = &lt;font color="Blue"&gt;PUTFILE&lt;/font&gt;(&lt;font color="Black"&gt;'excel_file:'&lt;/font&gt;, gcDelimName, &lt;font color="Black"&gt;'xls'&lt;/font&gt;)
&lt;font color="Blue"&gt;IF&lt;/font&gt; &lt;font color="Blue"&gt;EMPTY&lt;/font&gt;(gcDelimFile)  
   &lt;font color="Blue"&gt;CANCEL&lt;/font&gt;
&lt;font color="Blue"&gt;ENDIF&lt;/font&gt;
&lt;font color="Blue"&gt;COPY&lt;/font&gt; &lt;font color="Blue"&gt;TO&lt;/font&gt; (gcDelimFile) &lt;font color="Blue"&gt;XLS&lt;/font&gt; &lt;font color="Green" family="Courier New"&gt;&amp;amp;&amp;amp;sheet 2 or sheet 3 &lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;thanks</description><author>mohammed qasem&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 11:31:25 +0100</pubDate></item><item><title>Projects and Design: Graph datasheet                                                                                     </title><link>http://www.foxite.com/archives/0000192627.htm</link><guid>http://www.foxite.com/archives/0000192627.htm</guid><description>Version: Visual FoxPro 7&lt;br /&gt;&lt;br /&gt;hi,&lt;br /&gt;&lt;br /&gt;how to link VFP Graph Datasheet with Database&lt;br /&gt;&lt;br /&gt;Thanks</description><author>Mahesh Trivedi&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 08:45:16 +0100</pubDate></item><item><title>Forms: dates                                                                                               </title><link>http://www.foxite.com/archives/0000192639.htm</link><guid>http://www.foxite.com/archives/0000192639.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;hi all,&lt;br /&gt; i have 2 date as&lt;br /&gt;stdate =25/03/2008&lt;br /&gt;enddate=25/03/2009&lt;br /&gt;&lt;br /&gt;i use it for contract start to end&lt;br /&gt;&lt;br /&gt;i need to let myform brow (message ,alarm,or sound) before one month as 25/02/2008&lt;br /&gt;&lt;br /&gt;as message box (contract end after one month) evrey day from 25/02 to 28/02/2008&lt;br /&gt;&lt;br /&gt;thanks</description><author>mohammed qasem&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 10:39:11 +0100</pubDate></item><item><title>Errors &amp; Debugging: Fatal Error C0000006                                                                                </title><link>http://www.foxite.com/archives/0000192638.htm</link><guid>http://www.foxite.com/archives/0000192638.htm</guid><description>Version: Visual FoxPro 8&lt;br /&gt;&lt;br /&gt;hi,recently i am facing fatal error C0000006 on my foxpro program when i using it at terminal service. i am using VFP8 and Terminal service is Windows 2000 Servier SP4. &lt;br /&gt;Any idea?</description><author>TZ Lau&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 10:31:33 +0100</pubDate></item><item><title>Web Services: Send Mail With VFP. Can Do it ?                                                                     </title><link>http://www.foxite.com/archives/0000192616.htm</link><guid>http://www.foxite.com/archives/0000192616.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hello Expert&lt;br /&gt;&lt;br /&gt;I have a new XLS files that i want to send it as email attachment to anyone. can VFP do it with one click command?&lt;br /&gt;&lt;br /&gt;Thanks</description><author>anang&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 07:57:42 +0100</pubDate></item><item><title>Grids: Graphic? in Grid showing progress                                                                   </title><link>http://www.foxite.com/archives/0000192458.htm</link><guid>http://www.foxite.com/archives/0000192458.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;Hi Guys,&lt;br /&gt;&lt;br /&gt;I am looking how I can put a 'progress bar' in a grid.&lt;br /&gt;&lt;br /&gt;Not a traditional progress bar but a bar indicating how much of a project has been completed.&lt;br /&gt;&lt;br /&gt;I had thought of changing the font in the column to Webdings and putting square symbols in the grid but was wondering if something more 'graphical' is available.&lt;br /&gt;&lt;br /&gt;Simon Cropper</description><author>Simon Cropper&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 00:29:25 +0100</pubDate></item><item><title>Linux and VFP: how to disable menus                                                                                </title><link>http://www.foxite.com/archives/0000192596.htm</link><guid>http://www.foxite.com/archives/0000192596.htm</guid><description>Version: Visual FoxPro 3&lt;br /&gt;&lt;br /&gt;Hi experts,&lt;br /&gt;&lt;br /&gt;please help me. I used menu designer in creating my menu then when i create password maintenance and some of the menus should be disable if a certain userid has no accessed to it.&lt;br /&gt;&lt;br /&gt;thanks</description><author>rino tenorio&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 05:32:53 +0100</pubDate></item><item><title>General VFP Topics: Shorten Path and File names                                                                         </title><link>http://www.foxite.com/archives/0000192549.htm</link><guid>http://www.foxite.com/archives/0000192549.htm</guid><description>Version: Not Applicable&lt;br /&gt;&lt;br /&gt;Heya All,&lt;br /&gt;&lt;br /&gt;For many a year now I have disliked displaying complete file paths to users because sometimes they can get VERY long.&lt;br /&gt;&lt;br /&gt;For instance, ask a user to select a table or image or anything and they select it and I have to display...&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;c:\my folder\my sub folder\my sub sub folder\my sub sub sub folder\&amp;lt;font color="Blue"&gt;file&lt;/font&gt;.&lt;font color="Blue"&gt;dbf&lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;... the first step I have taken is if I can display it as readonly text I will move the file name to the front and then add the path, sometimes, and if not a tool tip displaying the full path ...&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;&lt;font color="Blue"&gt;file&lt;/font&gt;.&lt;font color="Blue"&gt;dbf&lt;/font&gt; &lt;font color="Blue"&gt;in&lt;/font&gt; c:\my folder\my sub folder\my sub sub folder\my sub sub sub folder\
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;...because IMHO I think the most important/relevant part should be first (Don't even get me started on how VFP class designer captions start with.. "Class Designer" - Duh I knew that - "&lt;library&gt;" - Ok, getting closer - "&lt;class name&gt;" what I really want to know )&lt;br /&gt;&lt;br /&gt;But, I digress. I decided I wanted the option of "shortening" the path+file name something like:&lt;br /&gt;&lt;br /&gt;&lt;pre class='codeblock'&gt;c:\...\my sub sub sub folder\&amp;lt;font color="Blue"&gt;file&lt;/font&gt;.&lt;font color="Blue"&gt;dbf&lt;/font&gt;
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Was therefore wondering...&lt;br /&gt;&lt;br /&gt;a) is there any function/winapi which can accomplish this for me&lt;br /&gt;&lt;br /&gt;2) If I write my own, NBD, is there any type of 'standard' out there and if not, anyone have any personal preferences&lt;br /&gt;&lt;br /&gt;Thanks for any and all input&lt;br /&gt;&lt;br /&gt;Steve Dingle&lt;br /&gt;&lt;a target='_blank' href='http://weblogs.foxite.com/SteveDingle/'&gt;http://weblogs.foxite.com/SteveDingle/&lt;/a&gt;&lt;br /&gt;&lt;a target='_blank' href='http://www.dsbusinesssolutions.co.uk/' rel='nofollow'&gt;www.dsbusinesssolutions.co.uk&lt;/a&gt;</description><author>Steve Dingle&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 17:23:57 +0100</pubDate></item><item><title>Grids: Grid and Textbox                                                                                    </title><link>http://www.foxite.com/archives/0000192584.htm</link><guid>http://www.foxite.com/archives/0000192584.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hi VFP Experts,&lt;br /&gt;&lt;br /&gt;   First of all thank you very much for answering my problems I posted in Foxite I learned a lot from your advice and codes. Thank you very much and More Power!!!&lt;br /&gt;&lt;br /&gt;  I have a question I have a grid that contains a record I wanted that If I click a certain record from a grid I will automatically display to my textbox so that I can modify the record and return once again in my database file? Any Codes or explanation about my problem is highly appreciated. Thank you very much and God Bless.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt; Jake :-D</description><author>Jake Pomperada&lt;invalid-address@foxite.com&gt;</author><pubDate>Thu, 04 Sep 2008 03:20:00 +0100</pubDate></item><item><title>User Groups &amp; Online Communities: Chicago FUDG Sept. 9 - Two Feltmans!                                                                </title><link>http://www.foxite.com/archives/0000192575.htm</link><guid>http://www.foxite.com/archives/0000192575.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;September at Chicago FUDG features a pair of Feltmans - both with programming roots in Fox Software, and a marriage made in Toledo.&lt;br /&gt;&lt;br /&gt;Toni and Mike are partners at F1 Technologies, a Toledo, Ohio based product development and IT consulting firm, where they create and sell a Visual FoxPro framework called Visual Fox Express.  Both have spoken at numerous FoxPro conferences and user groups, and written articles for publication.&lt;br /&gt;&lt;br /&gt;Toni Feltman will speak on &lt;a target='_blank' href='http://etecnologia.net/' rel='nofollow'&gt;eTecnologia.NET&lt;/a&gt;'s .NET Extender for VFP which makes it possible to use any .NET class from within VFP without requiring ActiveX or COM registration.&lt;br /&gt;&lt;br /&gt;Mike Feltman will show how Visual FoxPro is an extremely powerful back-end development language for web development. Third party tools such as Web Connection, Active FoxPro Pages, FoxWeb and others allow VFP developers to seamlessly take their skills from the Desktop to the Internet. &lt;br /&gt;&lt;br /&gt;Be sure to join us for a great evening at the usual time and place: 5:30pm on September 9th, 2008 at 53 W. Jackson Blvd Suite 826 in Chicago.&lt;br /&gt;&lt;br /&gt;Next month: Christof Wollenhaupt on October 14 - save the date!&lt;br /&gt;More info at &lt;a target='_blank' href='http://www.chicagofudg.com/' rel='nofollow'&gt;http://www.ChicagoFUDG.com&lt;/a&gt;</description><author>Randy Bosma&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 23:22:20 +0100</pubDate></item><item><title>Reports and Printers: Control Top Margin in report                                                                        </title><link>http://www.foxite.com/archives/0000192561.htm</link><guid>http://www.foxite.com/archives/0000192561.htm</guid><description>Version: Visual FoxPro 9&lt;br /&gt;&lt;br /&gt;Dear Experts&lt;br /&gt;&lt;br /&gt;How to control top margin in report?&lt;br /&gt;Actually I want to print report on Company's letter head.&lt;br /&gt;&lt;br /&gt;I want 3.5" top in every page.&lt;br /&gt;&lt;br /&gt;Please help</description><author>Tariq mehmood&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 19:29:28 +0100</pubDate></item><item><title>Linux and VFP: diff with replace and update(sql)                                                                   </title><link>http://www.foxite.com/archives/0000192478.htm</link><guid>http://www.foxite.com/archives/0000192478.htm</guid><description>Version: Visual FoxPro 3&lt;br /&gt;&lt;br /&gt;hello experts,&lt;br /&gt;&lt;br /&gt;what is the difference between REPLACE AND UPDATE SQL&lt;br /&gt;if updating a single record in a table. &lt;br /&gt;&lt;br /&gt;EX.&lt;br /&gt;replace table.field with myvalue for myid= anothervariable&lt;br /&gt;&lt;br /&gt;update table(field) ;&lt;br /&gt;	values (myvalue) for myid = anothervariable</description><author>rino tenorio&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 06:02:58 +0100</pubDate></item><item><title>Projects and Design: Graph                                                                                               </title><link>http://www.foxite.com/archives/0000192506.htm</link><guid>http://www.foxite.com/archives/0000192506.htm</guid><description>Version: Visual FoxPro 7&lt;br /&gt;&lt;br /&gt;hi,&lt;br /&gt;&lt;br /&gt;how to make a graph in vfp7 pls suggest&lt;br /&gt;&lt;br /&gt;thanks</description><author>Mahesh Trivedi&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 09:22:46 +0100</pubDate></item><item><title>Reports and Printers: Need to save report in pdf with prefix                                                              </title><link>http://www.foxite.com/archives/0000192500.htm</link><guid>http://www.foxite.com/archives/0000192500.htm</guid><description>Version: Visual FoxPro 6&lt;br /&gt;&lt;br /&gt;Hi&lt;br /&gt;&lt;br /&gt;I need to save report to the pdf file and give it a name of one of the variables.&lt;br /&gt;Maybe someone knows how to open external application and use it to make pdf from report. I mean that it has to be automatical without any cliks :)&lt;br /&gt;&lt;br /&gt;Maybe newer version of FoxPro gives possibility to make pdf?&lt;br /&gt;&lt;br /&gt;Please help&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;Pawel</description><author>Pawel Salomon&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 09:14:10 +0100</pubDate></item><item><title>Classes and Objects: Enhanced VFP Color Picker                                                                           </title><link>http://www.foxite.com/archives/0000192486.htm</link><guid>http://www.foxite.com/archives/0000192486.htm</guid><description>Version: Visual FoxPro 9 SP2&lt;br /&gt;&lt;br /&gt;I have published an article about the enhanced colorpicker included in the ctl32 classes:&lt;br /&gt;&lt;br /&gt;&lt;a target='_blank' href='http://www.ctl32.com.ar/ctl32_colorpicker.asp' rel='nofollow'&gt;http://www.ctl32.com.ar/ctl32_colorpicker.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Download is here: &lt;a target='_blank' href='http://www.ctl32.com.ar/downloads.asp' rel='nofollow'&gt;http://www.ctl32.com.ar/downloads.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Check the colorpicker folder, open the project and compile the app to use in VFP.&lt;br /&gt;&lt;br /&gt;Carlos Alloatti</description><author>Carlos Alloatti&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 07:47:03 +0100</pubDate></item><item><title>Forms: Form instead of Menu                                                                                </title><link>http://www.foxite.com/archives/0000192474.htm</link><guid>http://www.foxite.com/archives/0000192474.htm</guid><description>Version: Visual FoxPro 5&lt;br /&gt;&lt;br /&gt;Hi all,&lt;br /&gt;is it possible to use a main form instaed of menu. i mean, the actions are categorized in a form n this form is displayed all the times. the advantage is to use graphics in the main form.&lt;br /&gt;&lt;br /&gt;wots ur idea...?</description><author>Usman Safdar&lt;invalid-address@foxite.com&gt;</author><pubDate>Wed, 03 Sep 2008 05:47:42 +0100</pubDate></item></channel></rss>