<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6572299773685832069</id><updated>2012-02-06T05:22:00.603-08:00</updated><category term='general ledger'/><category term='sql connections'/><category term='Local Area Network Database'/><category term='debit'/><category term='data documents'/><category term='journal form'/><category term='Local Area Network'/><category term='vfp window'/><category term='cancel'/><category term='background. vfp'/><category term='visual foxpro'/><category term='delete code'/><category term='log out'/><category term='copy'/><category term='printer'/><category term='menu designer'/><category term='lcounter'/><category term='IF FOUND'/><category term='username'/><category term='balance code'/><category term='quit'/><category term='requery'/><category term='LAN Database'/><category term='table'/><category term='graph in form'/><category term='report code'/><category term='foxpro'/><category term='word conversion'/><category term='If Else EndIf Code'/><category term='procedure'/><category term='set focus code'/><category term='very connection'/><category term='Income Statement'/><category term='data grouping'/><category term='submenu'/><category term='account chart'/><category term='Subsidiary Ledger'/><category term='Init'/><category term='FoxPro Menu'/><category term='FoxPro Database'/><category term='back color'/><category term='accounting form'/><category term='word amount'/><category term='mycursor'/><category term='view'/><category term='dalete'/><category term='change password'/><category term='character'/><category term='reference document'/><category term='disable'/><category term='trial balance image'/><category term='table update'/><category term='Check Voucher Report'/><category term='incorrect password'/><category term='set main'/><category term='month'/><category term='SET DELETED ON'/><category term='frx'/><category term='add'/><category term='log in'/><category term='Tag Code'/><category term='balance sheet'/><category term='command'/><category term='combo box data'/><category term='LAN'/><category term='grid'/><category term='locate'/><category term='Clearpage Code'/><category term='number to words'/><category term='if endif'/><category term='year'/><category term='endif'/><category term='Account field'/><category term='Check Voucher'/><category term='num to words'/><category term='on shutdown'/><category term='image'/><category term='programming language'/><category term='code'/><category term='locate()'/><category term='footer'/><category term='menu'/><category term='shellexecute'/><category term='focus'/><category term='message box'/><category term='append'/><category term='Reports'/><category term='alltrim'/><category term='other'/><category term='table name'/><category term='login'/><category term='amount in word'/><category term='activity log'/><category term='group header'/><category term='programming code'/><category term='keypress'/><category term='post'/><category term='text box'/><category term='voucher'/><category term='sql database'/><category term='replace'/><category term='journal entry'/><category term='making a vfp graph'/><category term='Classlib'/><category term='sql'/><category term='edit box'/><category term='accounting report'/><category term='report designer'/><category term='messagebox'/><category term='read only'/><category term='number conversion'/><category term='particular'/><category term='vfp'/><category term='read events'/><category term='clear events'/><category term='FoxPro project'/><category term='block'/><category term='main program'/><category term='trial balance'/><category term='found()'/><category term='Exut'/><category term='if found()'/><category term='remote view'/><category term='indicator'/><category term='proramming language'/><category term='connection string'/><category term='visual foxpro code'/><category term='view designer foxpro'/><category term='selectscan'/><category term='credit'/><category term='xl5'/><category term='prooflist'/><category term='thisform'/><category term='select'/><category term='locate for'/><category term='logout'/><category term='if else'/><category term='jpeg'/><category term='pad name'/><category term='Chart of Accounts'/><category term='Trial Balance Report'/><category term='Buttons'/><category term='save'/><category term='append blank'/><category term='save vfp code'/><category term='olegraph'/><category term='filter'/><category term='edit'/><category term='color'/><category term='foxpro code'/><category term='traceability'/><category term='foxpro report'/><category term='release block'/><category term='release'/><category term='Pack'/><category term='erase'/><category term='filename'/><category term='local view'/><category term='value'/><category term='enable'/><category term='page frame'/><category term='visual  foxpro'/><category term='public'/><category term='equal'/><category term='xls'/><category term='microsoft visual foxpro'/><category term='FoxPro Buttons'/><category term='vfpcode'/><category term='vfp code'/><category term='Report'/><category term='export'/><category term='graph'/><category term='form'/><category term='do case'/><category term='delete'/><category term='accounting system'/><category term='picture'/><category term='clear page'/><category term='branch name'/><category term='class libraries'/><category term='open'/><category term='pdf file'/><category term='database'/><category term='empty'/><category term='login code'/><category term='counter'/><category term='excel file'/><category term='prg'/><category term='proof list'/><category term='signatory'/><category term='read only code'/><category term='journal entries'/><category term='endscan'/><category term='release()'/><category term='journal post'/><category term='sql server'/><category term='textbox'/><category term='close'/><category term='day'/><category term='print code'/><category term='rgb'/><category term='Menus'/><category term='branch setting'/><category term='Window'/><category term='SET TALK OFF'/><category term='Income Statement Report'/><category term='foxpro connections'/><category term='hundreds'/><category term='password'/><category term='accounting'/><title type='text'>Microsoft Visual Foxpro</title><subtitle type='html'>Microsoft Visual FoxPro Codes, Tips, Window Design, Database and Tables</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://microsoftvisualfoxpro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7098706017359619902</id><published>2012-02-06T05:22:00.000-08:00</published><updated>2012-02-06T05:22:00.667-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><category scheme='http://www.blogger.com/atom/ns#' term='FoxPro Menu'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>FoxPro Menu</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-HGLALo_OXCc/Twb1lzzyFnI/AAAAAAAAAYc/CeFB71qUxfg/s1600/foxpro+menu+processing+utility.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-HGLALo_OXCc/Twb1lzzyFnI/AAAAAAAAAYc/CeFB71qUxfg/s1600/foxpro+menu+processing+utility.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Zc7XrL4EZ2E/Twb1uB_BzrI/AAAAAAAAAYk/jfDlS9rCIYo/s1600/foxpro+menu+tools.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-Zc7XrL4EZ2E/Twb1uB_BzrI/AAAAAAAAAYk/jfDlS9rCIYo/s1600/foxpro+menu+tools.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-VdATV0E29vM/Twb1yq6GuKI/AAAAAAAAAYs/T19y0vAB80k/s1600/foxpro+menu+report.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-VdATV0E29vM/Twb1yq6GuKI/AAAAAAAAAYs/T19y0vAB80k/s1600/foxpro+menu+report.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-iwX4B1HeZBY/Twb12ZFzivI/AAAAAAAAAY0/cPpqFJUfoWE/s1600/foxpro+menu+module.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-iwX4B1HeZBY/Twb12ZFzivI/AAAAAAAAAY0/cPpqFJUfoWE/s1600/foxpro+menu+module.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-dCeju2Nm4m4/Twb16dlobxI/AAAAAAAAAY8/uQmqPmS1e8Y/s1600/foxpro+menu+database.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-dCeju2Nm4m4/Twb16dlobxI/AAAAAAAAAY8/uQmqPmS1e8Y/s1600/foxpro+menu+database.JPG" /&gt;&lt;/a&gt;&lt;/div&gt;Sample FoxPro Menu for the following:&lt;br /&gt;&lt;br /&gt;Menu Processing Utility&lt;br /&gt;Menu Tools&lt;br /&gt;Menu Report&lt;br /&gt;Menu Module&lt;br /&gt;Menu Database&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7098706017359619902?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7098706017359619902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7098706017359619902'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2012/02/foxpro-menu.html' title='FoxPro Menu'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-HGLALo_OXCc/Twb1lzzyFnI/AAAAAAAAAYc/CeFB71qUxfg/s72-c/foxpro+menu+processing+utility.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2915625369538400782</id><published>2012-01-14T05:54:00.000-08:00</published><updated>2012-01-14T05:54:00.935-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LAN'/><category scheme='http://www.blogger.com/atom/ns#' term='FoxPro Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Local Area Network Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Local Area Network'/><category scheme='http://www.blogger.com/atom/ns#' term='LAN Database'/><title type='text'>Local Area Network Database for FoxPro</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Local Area Network Database for FoxPro&lt;br /&gt;&lt;br /&gt;System Requirements for LAN Database for FoxPro:&lt;br /&gt;Pentium 4 processor or higher&lt;br /&gt;Minimum of 512MB of RAM&lt;br /&gt;Minimum of 80 Gb  of Hard disk&lt;br /&gt;Minimum of  Windows XP &lt;br /&gt;Should be a member of  Company Domain&lt;br /&gt;With ‘LANDatabase’ Map Network Drive (Z:)&lt;br /&gt;&lt;br /&gt;How to Install&amp;nbsp;LAN Database for FoxPro:&lt;br /&gt;Copy the System Folder and paste it to the Drive C&lt;br /&gt;Install the VFP9SPORT&lt;br /&gt;Make sure that the ‘LANDatabase’ Map Network Drive is available (Z:)&lt;br /&gt;Make a desktop shortcut of the cfd Application and rename it as ‘LANDatabase’&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2915625369538400782?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2915625369538400782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2915625369538400782'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2012/01/local-area-network-database-for-foxpro.html' title='Local Area Network Database for FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7715889688349080372</id><published>2012-01-06T05:18:00.000-08:00</published><updated>2012-01-06T05:20:07.076-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FoxPro Buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='Buttons'/><title type='text'>FoxPro Buttons</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-EQpaJq3T1PA/Twb0I4GUvuI/AAAAAAAAAX0/dl-oYMdiFQ8/s1600/foxpro+button+logout.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="67" src="http://4.bp.blogspot.com/-EQpaJq3T1PA/Twb0I4GUvuI/AAAAAAAAAX0/dl-oYMdiFQ8/s200/foxpro+button+logout.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-96tpgxPe0II/Twb0POHQmAI/AAAAAAAAAX8/ZpzQd8XXRVM/s1600/foxpro+button+close.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="60" src="http://3.bp.blogspot.com/-96tpgxPe0II/Twb0POHQmAI/AAAAAAAAAX8/ZpzQd8XXRVM/s200/foxpro+button+close.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-dTe8ztmTDuc/Twb0TEckKAI/AAAAAAAAAYE/iwnQ1Lz3Osw/s1600/foxpro+button+edit.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="63" src="http://3.bp.blogspot.com/-dTe8ztmTDuc/Twb0TEckKAI/AAAAAAAAAYE/iwnQ1Lz3Osw/s200/foxpro+button+edit.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-uKKs4Cg2C2w/Twb0WmF5sOI/AAAAAAAAAYM/kIb0pcn-rQg/s1600/foxpro+button+new.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="60" src="http://4.bp.blogspot.com/-uKKs4Cg2C2w/Twb0WmF5sOI/AAAAAAAAAYM/kIb0pcn-rQg/s200/foxpro+button+new.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-cN313kp_N6Q/Twb0a38IFAI/AAAAAAAAAYU/UGHzwp1L2SQ/s1600/foxpro+button+print.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="60" src="http://3.bp.blogspot.com/-cN313kp_N6Q/Twb0a38IFAI/AAAAAAAAAYU/UGHzwp1L2SQ/s200/foxpro+button+print.JPG" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Sample&amp;nbsp;FoxPro Buttons for the following:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Logout&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Close&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Edit&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;New&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Print&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7715889688349080372?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7715889688349080372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7715889688349080372'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2012/01/foxpro-buttons.html' title='FoxPro Buttons'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-EQpaJq3T1PA/Twb0I4GUvuI/AAAAAAAAAX0/dl-oYMdiFQ8/s72-c/foxpro+button+logout.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7474047856008810709</id><published>2011-07-03T05:21:00.000-07:00</published><updated>2011-07-12T06:12:36.221-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='locate for'/><category scheme='http://www.blogger.com/atom/ns#' term='delete'/><category scheme='http://www.blogger.com/atom/ns#' term='Pack'/><category scheme='http://www.blogger.com/atom/ns#' term='table name'/><category scheme='http://www.blogger.com/atom/ns#' term='alltrim'/><title type='text'>Delete Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;This is delete code where you can delete a line or specific data from the table one at a time.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT TableName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;LOCATE FOR ALLTRIM(&lt;/span&gt;TableName&lt;span class="Apple-style-span"&gt;.Allottee) = ALLTRIM(THISFORM.Text1.Value)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;IF ALLTRIM(&lt;/span&gt;TableName&lt;span class="Apple-style-span"&gt;.Allottee) = ALLTRIM(THISFORM.Text1.Value)&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT&amp;nbsp;TableName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR Allottee = ALLTRIM(THISFORM.Text1.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT&amp;nbsp;TableName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;USE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;USE Allotments EXCLU&lt;/div&gt;&lt;div style="text-align: justify;"&gt;DELETE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;PACK&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7474047856008810709?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7474047856008810709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7474047856008810709'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/07/delete-code.html' title='Delete Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5540863492338968768</id><published>2011-06-16T06:18:00.000-07:00</published><updated>2011-07-12T06:21:55.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='thisform'/><category scheme='http://www.blogger.com/atom/ns#' term='messagebox'/><category scheme='http://www.blogger.com/atom/ns#' term='Tag Code'/><category scheme='http://www.blogger.com/atom/ns#' term='IF FOUND'/><title type='text'>Tag Code</title><content type='html'>Here is a sample of my tag code or tagging an amount .&lt;br /&gt;&lt;br /&gt;lAnswer = MESSAGEBOX("Do you want to tag Journal Entry?", 4, "Confirmation")&lt;br /&gt;IF lAnswer = 6&lt;br /&gt;SELECT SviewJournalUpdate&lt;br /&gt;LOCATE FOR IdNum = THISFORM.Text2.Value&lt;br /&gt;IF FOUND()&lt;br /&gt;REPLACE lDate WITH pJeDate&lt;br /&gt;REPLACE RefDocu WITH pRefDocu&lt;br /&gt;REPLACE JvNumber WITH THISFORM.TEXT10.Value&lt;br /&gt;REPLACE LibUpdate WITH THISFORM.TEXT15.Value&lt;br /&gt;THISFORM.Grid1.REFRESH&lt;br /&gt;ENDIF&lt;br /&gt;THISFORM.ActivityTag()&lt;br /&gt;THISFORM.Release()&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5540863492338968768?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5540863492338968768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5540863492338968768'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/06/tag-code.html' title='Tag Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2858391360068951421</id><published>2011-06-02T05:14:00.000-07:00</published><updated>2011-07-12T05:18:50.225-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Menus'/><category scheme='http://www.blogger.com/atom/ns#' term='FoxPro project'/><category scheme='http://www.blogger.com/atom/ns#' term='Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='Classlib'/><title type='text'>General Ledger FoxPro Folder</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-mf9AGdfvXRs/Thw60j7BggI/AAAAAAAAAUM/_VHzDkRtHZs/s1600/general+ledger+foxpro+folder.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="212" src="http://4.bp.blogspot.com/-mf9AGdfvXRs/Thw60j7BggI/AAAAAAAAAUM/_VHzDkRtHZs/s400/general+ledger+foxpro+folder.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Whenever I make a FoxPro project folder I always make a folder for the Attach, Classlib, Data, Forms, Images, Menus, Progs and Reports. This &amp;nbsp;folder making will help me later on to&amp;nbsp;separate&amp;nbsp;the files that will be created.&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2858391360068951421?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2858391360068951421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2858391360068951421'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/06/general-ledger-foxpro-folder.html' title='General Ledger FoxPro Folder'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-mf9AGdfvXRs/Thw60j7BggI/AAAAAAAAAUM/_VHzDkRtHZs/s72-c/general+ledger+foxpro+folder.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5566672097652532870</id><published>2011-05-12T05:27:00.000-07:00</published><updated>2011-07-12T06:10:58.730-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SET TALK OFF'/><category scheme='http://www.blogger.com/atom/ns#' term='Init'/><category scheme='http://www.blogger.com/atom/ns#' term='do case'/><category scheme='http://www.blogger.com/atom/ns#' term='alltrim'/><category scheme='http://www.blogger.com/atom/ns#' term='SET DELETED ON'/><title type='text'>Form Init Code</title><content type='html'>Here is a sample of my code in Init of a Form.&lt;br /&gt;&lt;br /&gt;SET DELETED ON&lt;br /&gt;SET TALK OFF&lt;br /&gt;PUBLIC pCurrUser&lt;br /&gt;THISFORM.Text9.VALUE = DATE()&lt;br /&gt;THISFORM.BeginBalance()&lt;br /&gt;THISFORM.PettyDisable()&lt;br /&gt;THISFORM.Grid1.Enabled = .F.&lt;br /&gt;&lt;br /&gt;DO CASE&lt;br /&gt;CASE ALLTRIM(pCurrUser) = "Admin"&lt;br /&gt;THISFORM.Grid1.Enabled = .T.&lt;br /&gt;THISFORM.cmdApprove.Enabled = .T.&lt;br /&gt;CASE ALLTRIM(pCurrUser) = "User"&lt;br /&gt;THISFORM.Grid1.Enabled = .T.&lt;br /&gt;THISFORM.cmdApprove.Enabled = .T.&lt;br /&gt;ENDCASE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5566672097652532870?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5566672097652532870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5566672097652532870'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/05/form-init-code.html' title='Form Init Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-6776261429245341531</id><published>2011-05-01T21:09:00.000-07:00</published><updated>2012-01-06T05:27:25.410-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Trial Balance Report'/><category scheme='http://www.blogger.com/atom/ns#' term='trial balance'/><title type='text'>Trial Balance Report</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS03kRbjqCI/AAAAAAAAAQY/tvhWqSOQR5k/s1600/trial+balance.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="263" n4="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS03kRbjqCI/AAAAAAAAAQY/tvhWqSOQR5k/s400/trial+balance.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Trial Balance Report of Microsoft Visual FoxPro&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-6776261429245341531?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6776261429245341531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6776261429245341531'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/05/trial-balance-report.html' title='Trial Balance Report'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TS03kRbjqCI/AAAAAAAAAQY/tvhWqSOQR5k/s72-c/trial+balance.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7181511052667796330</id><published>2011-04-05T19:55:00.000-07:00</published><updated>2012-01-06T05:27:43.836-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Income Statement'/><category scheme='http://www.blogger.com/atom/ns#' term='Income Statement Report'/><title type='text'>Income Statement Report</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0mYp7GkXI/AAAAAAAAAQU/aPh7Tfy1RSw/s1600/income+statement+report.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" n4="true" src="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0mYp7GkXI/AAAAAAAAAQU/aPh7Tfy1RSw/s400/income+statement+report.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Income Statement Report of Microsoft Visual FoxPro&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7181511052667796330?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7181511052667796330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7181511052667796330'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/04/income-statement-report.html' title='Income Statement Report'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0mYp7GkXI/AAAAAAAAAQU/aPh7Tfy1RSw/s72-c/income+statement+report.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-6931775702289464285</id><published>2011-04-01T19:53:00.000-07:00</published><updated>2012-01-06T05:28:03.006-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Check Voucher'/><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><category scheme='http://www.blogger.com/atom/ns#' term='Check Voucher Report'/><title type='text'>Check Voucher Report</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0lwc-D_3I/AAAAAAAAAQQ/hLxSCNv63oY/s1600/check+voucher+report.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="216" n4="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0lwc-D_3I/AAAAAAAAAQQ/hLxSCNv63oY/s400/check+voucher+report.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Check Voucher Report of Microsoft Visual FoxPro&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-6931775702289464285?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6931775702289464285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6931775702289464285'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/04/check-voucher-report.html' title='Check Voucher Report'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0lwc-D_3I/AAAAAAAAAQQ/hLxSCNv63oY/s72-c/check+voucher+report.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4468632898450257500</id><published>2011-03-20T19:22:00.000-07:00</published><updated>2011-03-20T19:22:00.435-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='endif'/><category scheme='http://www.blogger.com/atom/ns#' term='number conversion'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='do case'/><category scheme='http://www.blogger.com/atom/ns#' term='hundreds'/><category scheme='http://www.blogger.com/atom/ns#' term='amount in word'/><category scheme='http://www.blogger.com/atom/ns#' term='num to words'/><category scheme='http://www.blogger.com/atom/ns#' term='word conversion'/><category scheme='http://www.blogger.com/atom/ns#' term='number to words'/><category scheme='http://www.blogger.com/atom/ns#' term='word amount'/><title type='text'>Number to Words FoxPro Code</title><content type='html'>Here is a sample of a FoxPro code on how to change the numbers you typed into words or number to words functions.&lt;br /&gt;&lt;br /&gt;PARAMETER numAmt&lt;br /&gt;&lt;br /&gt;PRIVATE numAmt, chrAmt, cDNums, wordAmt, cDvar&lt;br /&gt;&lt;br /&gt;*Covert amount to string, add leading zeros&lt;br /&gt;numAmt = VAL(THISFORM.Text1.Value)&lt;br /&gt;chrAmt=RIGHT('000000000'+LTRIM(STR(numAmt,12,2)),12)&lt;br /&gt;&lt;br /&gt;*Initialize literal string&lt;br /&gt;Dol1 = 'ONE'&lt;br /&gt;Dol2 = 'TWO'&lt;br /&gt;Dol3 = 'THREE'&lt;br /&gt;Dol4 = 'FOUR'&lt;br /&gt;Dol5 = 'FIVE'&lt;br /&gt;Dol6 = 'SIX'&lt;br /&gt;Dol7 = 'SEVEN'&lt;br /&gt;Dol8 = 'EIGHT'&lt;br /&gt;Dol9 = 'NINE'&lt;br /&gt;Dol10 = 'TEN'&lt;br /&gt;Dol11 = 'ELEVEN'&lt;br /&gt;Dol12 = 'TWELVE'&lt;br /&gt;Dol13 = 'THIRTEEN'&lt;br /&gt;Dol14 = 'FOURTEEN'&lt;br /&gt;Dol15 = 'FIFTEEN'&lt;br /&gt;Dol16 = 'SIXTEEN'&lt;br /&gt;Dol17 = 'SEVENTEEN'&lt;br /&gt;Dol18 = 'EIGHTEEN'&lt;br /&gt;Dol19 = 'NINETEEN'&lt;br /&gt;Dol20 = 'TWENTY'&lt;br /&gt;Dol30 = 'THIRTY'&lt;br /&gt;Dol40 = 'FORTY'&lt;br /&gt;Dol50 = 'FIFTY'&lt;br /&gt;Dol60 = 'SIXTY'&lt;br /&gt;Dol70 = 'SEVENTY'&lt;br /&gt;Dol80 = 'EIGHTY'&lt;br /&gt;Dol90 = 'NINETY'&lt;br /&gt;wordAmt=''&lt;br /&gt;IsHundred = .F.&lt;br /&gt;checkMillion =.T.&lt;br /&gt;FOR Counter = 1 TO 3&lt;br /&gt;&lt;br /&gt;* First time through the For loop to check for millions&lt;br /&gt;* Second time through the FOR loop to check for thousands&lt;br /&gt;* Third time through the FOR loop to check for hundreds, tens and ones&lt;br /&gt;DO CASE&lt;br /&gt;CASE Counter = 1&lt;br /&gt;cDNums = SUBSTR(chrAmt,1,3)&lt;br /&gt;CASE Counter = 2&lt;br /&gt;cDNums = SUBSTR(chrAmt,4,3)&lt;br /&gt;CASE Counter = 3&lt;br /&gt;cDnums = SUBSTR(chrAmt,7,3)&lt;br /&gt;ENDCASE&lt;br /&gt;&lt;br /&gt;* Check hundreds&lt;br /&gt;IF LEFT(cDNums, 1) &amp;gt; '0'&lt;br /&gt;cDvar = 'Dol'+LEFT(cDNums,1)&lt;br /&gt;wordAmt = wordAmt + EVAL(cDvar)+SPACE(1)+'HUNDRED'+SPACE(1)&lt;br /&gt;IsHundred = .T.&lt;br /&gt;IF Counter = 2&lt;br /&gt;CheckMillion = .T.&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;* Check tens and ones&lt;br /&gt;Dtens = VAL(SUBSTR(cDNums,2,2))&lt;br /&gt;IF Dtens &amp;gt; 0&lt;br /&gt;IF Dtens &amp;gt; 20&lt;br /&gt;cDvar = 'Dol'+SUBSTR(cDNums,2,1)+'0'&lt;br /&gt;wordAmt = wordAmt + EVAL(cDvar)&lt;br /&gt;IF SUBSTR(cDNums,3,1) &amp;gt; '0'&lt;br /&gt;cDvar = 'Dol'+SUBSTR(cDNums,3,1)&lt;br /&gt;wordAmt = wordAmt + '-'+ EVAL(cDvar) + SPACE(1)&lt;br /&gt;ELSE&lt;br /&gt;wordAmt = wordAmt + SPACE(1)&lt;br /&gt;ENDIF&lt;br /&gt;ELSE&lt;br /&gt;cvar = 'Dol'+LTRIM(STR(Dtens))&lt;br /&gt;wordAmt = wordAmt + EVAL(cDvar) + SPACE(1)&lt;br /&gt;ENDIF&lt;br /&gt;IsHundred = .F.&lt;br /&gt;IF Counter = 2&lt;br /&gt;CheckMillion = .T.&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;* Add in Million, if needed&lt;br /&gt;IF numAmt &amp;gt; 999999.99 .AND. Counter = 1&lt;br /&gt;wordAmt = wordAmt + SPACE(1)+'MILLION'+SPACE(1)&lt;br /&gt;CheckMillion = .F.&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;* Add in Thousand, if needed&lt;br /&gt;IF CheckMillion&lt;br /&gt;IF numAmt &amp;gt; 999.99 .AND. Counter = 2&lt;br /&gt;IF Dtens &amp;gt; 0&lt;br /&gt;wordAmt = wordAmt + SPACE(1)+'THOUSAND'+SPACE(1)&lt;br /&gt;ENDIF&lt;br /&gt;IF IsHundred&lt;br /&gt;wordAmt = wordAmt + SPACE(1)+'THOUSAND'+SPACE(1)&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ENDFOR&lt;br /&gt;&lt;br /&gt;* Construct the complete dollar amount in words&lt;br /&gt;wordAmt = IIF(numAmt&amp;lt;1, 'ONLY'+SPACE(1), '** ' + wordAmt + ' **') &amp;amp;&amp;amp;+SPACE(1)) + RIGHT(chrAmt,2)+'/100 ' + IIF(numAmt&amp;gt;1,'S','')&lt;br /&gt;RETURN wordAmt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4468632898450257500?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4468632898450257500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4468632898450257500'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/03/number-to-words-foxpro-code.html' title='Number to Words FoxPro Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2396454562538291817</id><published>2011-03-15T19:14:00.000-07:00</published><updated>2011-03-15T19:14:00.330-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='menu designer'/><category scheme='http://www.blogger.com/atom/ns#' term='command'/><category scheme='http://www.blogger.com/atom/ns#' term='pad name'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='submenu'/><category scheme='http://www.blogger.com/atom/ns#' term='procedure'/><category scheme='http://www.blogger.com/atom/ns#' term='menu'/><title type='text'>Menu Designer in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0crHq2ytI/AAAAAAAAAQM/eD40cnOfSfo/s1600/menu+designer.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="235" n4="true" src="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0crHq2ytI/AAAAAAAAAQM/eD40cnOfSfo/s400/menu+designer.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Menu Designer on Other of Project Manager allows you you build and edit menu or menus for your FoxPro System. On Prompt textbox, assign a name designated then on Result will appear Command, Pad Name, Submenu or Procedure. You can make as many list as you want. Then a textbox will appear on Options depends on what you had chosen on Result.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2396454562538291817?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2396454562538291817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2396454562538291817'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/03/menu-designer-in-foxpro.html' title='Menu Designer in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0crHq2ytI/AAAAAAAAAQM/eD40cnOfSfo/s72-c/menu+designer.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1344124489629375251</id><published>2011-03-10T19:07:00.000-08:00</published><updated>2011-03-10T19:07:00.176-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Account field'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='Chart of Accounts'/><category scheme='http://www.blogger.com/atom/ns#' term='Subsidiary Ledger'/><title type='text'>Subsidiary Ledger</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0bQzo6ujI/AAAAAAAAAQI/ccKAzb3ggkU/s1600/subsidiary+ledger.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="280" n4="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0bQzo6ujI/AAAAAAAAAQI/ccKAzb3ggkU/s400/subsidiary+ledger.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Subsidiary Ledger account in the Chart of Accounts from the Account field and scroll and click the desired branch on the Branch field.&amp;nbsp;&amp;nbsp; Indicate in the Start Date and End Date the desired transaction period to be displayed for the chosen account.&amp;nbsp; Ok button allows the user to refresh screen and current entries for a particular period, account and Branch will be displayed in the transaction field.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1344124489629375251?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1344124489629375251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1344124489629375251'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/03/subsidiary-ledger.html' title='Subsidiary Ledger'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0bQzo6ujI/AAAAAAAAAQI/ccKAzb3ggkU/s72-c/subsidiary+ledger.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1665284545411450442</id><published>2011-03-01T18:46:00.000-08:00</published><updated>2011-03-01T18:46:00.236-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='remote view'/><category scheme='http://www.blogger.com/atom/ns#' term='view designer foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='filter'/><category scheme='http://www.blogger.com/atom/ns#' term='sql database'/><title type='text'>Remote View Designer in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0WCyxLfvI/AAAAAAAAAQE/KbFfzxkDPZo/s1600/remote+view+designer.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" n4="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0WCyxLfvI/AAAAAAAAAQE/KbFfzxkDPZo/s400/remote+view+designer.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;﻿The Remote View Designer allows you to edit the Fields, Join, Filter, Order By, Group By, Update Criteria and Miscellaneous in your view. As a sample I have the AccountChange table from SQL Database to be access.﻿&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1665284545411450442?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1665284545411450442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1665284545411450442'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/03/remote-view-designer-in-foxpro.html' title='Remote View Designer in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0WCyxLfvI/AAAAAAAAAQE/KbFfzxkDPZo/s72-c/remote+view+designer.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-8865840778550057892</id><published>2011-02-21T18:40:00.000-08:00</published><updated>2011-02-21T18:40:00.334-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro connections'/><category scheme='http://www.blogger.com/atom/ns#' term='connection string'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='sql connections'/><title type='text'>SQL Connections in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0UvR3XwiI/AAAAAAAAAQA/25HyGhc4w4M/s1600/sql+connections.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="210" n4="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0UvR3XwiI/AAAAAAAAAQA/25HyGhc4w4M/s320/sql+connections.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;SQL&amp;nbsp;Database in FoxPro is possible using the Connections feature of this application. As you can see I have three different database from SQL Server. The InfoConnString, MoneyConnString and SQLConnString.﻿ Now I am able to access the tables from those database. But of course, I need to provide a connection string to access.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-8865840778550057892?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8865840778550057892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8865840778550057892'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/02/sql-connections-in-foxpro.html' title='SQL Connections in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TS0UvR3XwiI/AAAAAAAAAQA/25HyGhc4w4M/s72-c/sql+connections.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7713013361784736689</id><published>2011-02-15T18:28:00.000-08:00</published><updated>2011-02-15T18:28:00.591-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='journal entry'/><category scheme='http://www.blogger.com/atom/ns#' term='back color'/><category scheme='http://www.blogger.com/atom/ns#' term='rgb'/><category scheme='http://www.blogger.com/atom/ns#' term='grid'/><title type='text'>Grid Back Color Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This FoxPro code will help you identify which&amp;nbsp;list on the grid has different data. My sample is that all Pending Journal Entry will be in orange backgound otherwise will be in blue background. Now I will know which entries to be posted!&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0THQNz6MI/AAAAAAAAAP8/VanAkgUSScs/s1600/grid+backcolor.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="200" n4="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0THQNz6MI/AAAAAAAAAP8/VanAkgUSScs/s200/grid+backcolor.JPG" width="182" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Grid2.SetAll("DynamicBackColor", "(IIF(PostStatus = 'PENDING', RGB(244,185,96), RGB(157,206,255)))")&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7713013361784736689?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7713013361784736689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7713013361784736689'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/02/grid-back-color-code.html' title='Grid Back Color Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/TS0THQNz6MI/AAAAAAAAAP8/VanAkgUSScs/s72-c/grid+backcolor.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-974986216381784232</id><published>2011-02-05T18:21:00.000-08:00</published><updated>2011-02-05T18:21:00.462-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='journal entry'/><category scheme='http://www.blogger.com/atom/ns#' term='post'/><category scheme='http://www.blogger.com/atom/ns#' term='credit'/><category scheme='http://www.blogger.com/atom/ns#' term='journal post'/><category scheme='http://www.blogger.com/atom/ns#' term='account chart'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='debit'/><category scheme='http://www.blogger.com/atom/ns#' term='text box'/><category scheme='http://www.blogger.com/atom/ns#' term='journal entries'/><title type='text'>Journal Entries Posting FoxPro Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;In line with the General Ledger window, here is the post or posting code after transaction entries. This will transfer the account entries to be posted and be viewed on Trial Balance. Also the FoxPro code is complicated due to locating the desired account name then add or subtract depends on the debit or credit on different account type.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;PUBLIC tDebitTotal, tCreditTotal&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.MonthProcess()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewJvOneHeader&lt;/div&gt;&lt;div style="text-align: justify;"&gt;StartDate = THISFORM.Text51.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;EndDate = THISFORM.Text51.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lNameBranch = pBranchName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=REQUERY("SviewJvOneHeader")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;GO TOP&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SCAN &lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text5.Value = SviewJvOneHeader.IdNum&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF SviewJvHeader.PostStatus = "PENDING"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF (THISFORM.Text16.Value) = (THISFORM.Text17.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewJournalEntry&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lJvNumber = THISFORM.Text5.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=REQUERY("SviewJournalEntry")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;GO TOP&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lCounter = RECCOUNT()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text7.Value = SviewJournalEntry.IdNum&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text9.Value = SviewJournalEntry.AccountCode&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text10.Value = SviewJournalEntry.Debit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text11.Value = SviewJournalEntry.Credit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text12.Value = SviewJournalEntry.BranchName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewAccountPosting&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lBranchName = pBranchName+"%"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lAccountCode = THISFORM.Text9.VALUE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=REQUERY("SviewAccountPosting")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR ALLTRIM(AccountCode) = ALLTRIM(THISFORM.Text9.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text41.VALUE = Code1&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text48.VALUE = Code2&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text55.VALUE = Code3&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewAccountPosting&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lBranchName = pBranchName+"%"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lAccountCode = THISFORM.Text41.VALUE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=REQUERY("SviewAccountPosting")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR ALLTRIM(AccountCode) = ALLTRIM(THISFORM.Text41.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text13.Value = TotalDebit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text14.Value = TotalCredit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text23.VALUE = BeginBal&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text24.VALUE = EndingBalance&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text34.VALUE = IdNum&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text47.VALUE = AccountLevel&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text49.VALUE = TagSked&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text50.VALUE = Type &lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text59.VALUE = NoOfSl &lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text59.VALUE = TotalAmount &lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.MonthlyProcess()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text33.VALUE = LEFT(TRANS(THISFORM.Text41.Value),1)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;DO CASE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "1"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "ASSET"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "2"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "LIABILITY"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "3"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "CAPITAL"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "4"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "OPN"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "5"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "INCOME"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CASE THISFORM.Text33.VALUE = "6"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text22.Value = "EXPENSE"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDCASE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF THISFORM.Text59.Value = "FIRST"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text61.Value = VAL(THISFORM.Text13.Value - THISFORM.Text14.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text61.Value = VAL(THISFORM.Text59.Value + THISFORM.Text13.Value - THISFORM.Text14.Value) &lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewAccountList&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR (IdNum) = (THISFORM.Text34.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE TotalDebit WITH THISFORM.TEXT15.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE TotalCredit WITH THISFORM.TEXT18.Value &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE EndingBalance WITH THISFORM.TEXT26.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE TotalAmount WITH THISFORM.TEXT61.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE TagSked WITH CMONTH(DATE()) &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE LDate WITH DATE() &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE NoOfSl WITH "NEXT"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE Lines WITH "POST" &lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Error 001: IdNum not found.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ErrorAdd()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewAccountRecord&lt;/div&gt;&lt;div style="text-align: justify;"&gt;APPEND BLANK&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecAccountCode WITH THISFORM.TEXT41.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecType WITH THISFORM.TEXT50.Value &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecAccountLevel WITH THISFORM.TEXT47.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecBeginBsl WITH THISFORM.TEXT23.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecTotalDebit WITH THISFORM.TEXT15.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecTotalCredit WITH THISFORM.TEXT18.Value &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecEndingBal WITH THISFORM.TEXT26.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecBalance WITH THISFORM.TEXT26.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecDate WITH THISFORM.TEXT51.Value &lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE RecBranchName WITH pBranchName &lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewJournalEntry&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR IdNum = (THISFORM.Text7.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostBy WITH pCurrUser&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostDate WITH DATETIME()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostStatus WITH "POST"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE Balance WITH THISFORM.TEXT26.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Error 004: Account Code not found.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ErrorAdd()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.MainProcess()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.CodeProcess()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Error 003: Account Code not found.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ErrorAdd()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewJournalEntry&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR IdNum = (THISFORM.Text7.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostBy WITH pCurrUser&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostDate WITH DATETIME()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostStatus WITH "POST"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;*REPLACE Balance WITH THISFORM.TEXT26.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;*REPLACE Balance WITH THISFORM.Text61.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Error 004: Account Code not found.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ErrorAdd()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDSCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Not balance.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div style="text-align: justify;"&gt;*=MESSAGEBOX("Journal Entry processed.", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Journal Entry already processed.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewJvOneHeader&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR IdNum = (THISFORM.Text5.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostBy WITH pCurrUser&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostDate WITH DATE()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE PostStatus WITH "POST"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=TABLEUPDATE(.T.)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Error 002: IdNum not found.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ErrorAdd()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDSCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Journal Entry processed.", "Information")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Grid2.REFRESH()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.ActivityPost()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text5.Value = ""&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.cmdPost.Enabled = .F.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-974986216381784232?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/974986216381784232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/974986216381784232'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/02/journal-entries-posting-foxpro-code.html' title='Journal Entries Posting FoxPro Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4426960003515529516</id><published>2011-02-01T18:19:00.000-08:00</published><updated>2011-02-01T18:19:00.159-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp window'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='journal entries'/><title type='text'>Journal Entries in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0PxLcttmI/AAAAAAAAAP4/DfZxg8MeMgY/s1600/journal+entries.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="242" n4="true" src="http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0PxLcttmI/AAAAAAAAAP4/DfZxg8MeMgY/s400/journal+entries.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The Journal Entry window inputs transactions and posts these transactions to the General Ledger. Although multiple users are allowed to input transactions, only the GL Bookkeeper can post transactions.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4426960003515529516?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4426960003515529516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4426960003515529516'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/02/journal-entries-in-foxpro.html' title='Journal Entries in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bPNYb1LeG6E/TS0PxLcttmI/AAAAAAAAAP4/DfZxg8MeMgY/s72-c/journal+entries.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-6897699127846757082</id><published>2011-01-11T18:13:00.000-08:00</published><updated>2011-01-11T18:13:27.390-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='change password'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><title type='text'>Change Password Code</title><content type='html'>Login requirement needs changing password for security reason. Here is a sample change of password for FoxPro.&lt;br /&gt;&lt;br /&gt;IF ALLTRIM(THISFORM.Text4.Value) == ALLTRIM(THISFORM.Text4.Value)&lt;br /&gt;&lt;br /&gt;REPLACE SviewAccess.Password WITH ALLTRIM(THISFORM.Text4.Value)&lt;br /&gt;*WAIT WINDOW "Password has been changed." NOWAIT&lt;br /&gt;=MESSAGEBOX("Password has been changed. This window will exit.", "Information")&lt;br /&gt;THISFORM.Release()&lt;br /&gt;ELSE&lt;br /&gt;WAIT WINDOW "Confirm password does not match." NOWAIT&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-6897699127846757082?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6897699127846757082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6897699127846757082'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/01/change-password-code.html' title='Change Password Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-76308156154778487</id><published>2011-01-10T01:01:00.000-08:00</published><updated>2011-01-11T20:01:47.957-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting system'/><category scheme='http://www.blogger.com/atom/ns#' term='proof list'/><category scheme='http://www.blogger.com/atom/ns#' term='account chart'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='prooflist'/><title type='text'>General Ledger Prooflist</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/TNpfnKdjovI/AAAAAAAAAN8/W-Yd96U6GHg/s1600/prooflist.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="267" px="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/TNpfnKdjovI/AAAAAAAAAN8/W-Yd96U6GHg/s400/prooflist.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/TNpfuaUx0EI/AAAAAAAAAOA/IU76XIVAIoE/s1600/reportprooflist.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="293" px="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/TNpfuaUx0EI/AAAAAAAAAOA/IU76XIVAIoE/s400/reportprooflist.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;The Daily Transaction Prooflist Report shows all the information for individual journal entries&amp;nbsp;or &lt;a href="http://accountchart.blogspot.com/2011/01/chart-of-accounts.html"&gt;account chart&lt;/a&gt;&amp;nbsp;that were inputted for a particular date.&amp;nbsp; The report is used to verify accuracy and completeness on journal entries for a particular day prior to posting. The report can be generated by indicating the Reference Date and Branch. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-76308156154778487?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/76308156154778487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/76308156154778487'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/01/general-ledger-prooflist.html' title='General Ledger Prooflist'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/TNpfnKdjovI/AAAAAAAAAN8/W-Yd96U6GHg/s72-c/prooflist.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4151989151954297687</id><published>2011-01-05T01:20:00.000-08:00</published><updated>2011-01-05T01:20:00.137-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='branch setting'/><category scheme='http://www.blogger.com/atom/ns#' term='messagebox'/><category scheme='http://www.blogger.com/atom/ns#' term='locate'/><category scheme='http://www.blogger.com/atom/ns#' term='branch name'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='public'/><title type='text'>Branch Setting</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/TNpkC12IJJI/AAAAAAAAAOM/HKhlgHTPX6U/s1600/branch+setting.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="203" px="true" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/TNpkC12IJJI/AAAAAAAAAOM/HKhlgHTPX6U/s400/branch+setting.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;PUBLIC pBranchName&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR ALLTRIM(BranchName) = ALLTRIM(THISFORM.Combo1.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;pBranchName = ALLTRIM(BranchName)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;= MESSAGEBOX("You select "+ALLTRIM(pBranchName)+" Office?", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Release()&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4151989151954297687?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4151989151954297687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4151989151954297687'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/01/branch-setting.html' title='Branch Setting'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bPNYb1LeG6E/TNpkC12IJJI/AAAAAAAAAOM/HKhlgHTPX6U/s72-c/branch+setting.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3459674527080740581</id><published>2011-01-01T01:04:00.000-08:00</published><updated>2011-01-01T01:04:00.646-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting system'/><category scheme='http://www.blogger.com/atom/ns#' term='balance sheet'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><title type='text'>General Ledger Balance Sheet</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TNpgWGuIYSI/AAAAAAAAAOE/xWccAvwHQ7g/s1600/balancesheet.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="221" px="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TNpgWGuIYSI/AAAAAAAAAOE/xWccAvwHQ7g/s400/balancesheet.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/TNpgdoo2lTI/AAAAAAAAAOI/XTewAUOsRfg/s1600/reportbalancesheet.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="265" px="true" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/TNpgdoo2lTI/AAAAAAAAAOI/XTewAUOsRfg/s400/reportbalancesheet.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3459674527080740581?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3459674527080740581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3459674527080740581'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2011/01/general-ledger-balance-sheet.html' title='General Ledger Balance Sheet'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TNpgWGuIYSI/AAAAAAAAAOE/xWccAvwHQ7g/s72-c/balancesheet.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7719329055533069397</id><published>2010-12-02T01:58:00.000-08:00</published><updated>2011-01-11T20:02:10.280-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='thisform'/><category scheme='http://www.blogger.com/atom/ns#' term='remote view'/><category scheme='http://www.blogger.com/atom/ns#' term='found()'/><category scheme='http://www.blogger.com/atom/ns#' term='release block'/><category scheme='http://www.blogger.com/atom/ns#' term='locate'/><category scheme='http://www.blogger.com/atom/ns#' term='release'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='public'/><title type='text'>Release Block User Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;In any login code, aside from status login, logout, I also made use of block. A user has a status of block if his username and password dis not match thrice in a row. This will help in the security of accessing the program.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;PUBLIC pBlockUser&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF !EMPTY(THISFORM.Text2.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF THISFORM.Text4.Value = "BLOCK"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;pBlockUser = THISFORM.Text3.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lAnswer = MESSAGEBOX("Do you want to release "+ALLTRIM(pBlockUser)+"?", 4, "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF lAnswer = 6&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT SviewAccess&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR IdNum = THISFORM.Text2.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE AccessStatus WITH "LOGOUT"&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Successfully release "+ALLTRIM(pBlockUser)+" .", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Grid1.REFRESH&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Select a Block User.", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Select User.", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7719329055533069397?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7719329055533069397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7719329055533069397'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/12/release-block-user-code.html' title='Release Block User Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4776362436870927430</id><published>2010-12-02T01:48:00.000-08:00</published><updated>2010-12-02T01:48:00.058-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='if endif'/><category scheme='http://www.blogger.com/atom/ns#' term='balance code'/><category scheme='http://www.blogger.com/atom/ns#' term='equal'/><category scheme='http://www.blogger.com/atom/ns#' term='messagebox'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><title type='text'>Balance Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This code will check if textbox 1 is equal to textbox 2. If the two quantities is not equal a messagebox 'Not balance.' will appear but continue printing if balance at all.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF !EMPTY(THISFORM.Text3.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF (THISFORM.Text1.Value) = (THISFORM.Text2.Value)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPORT FORM "C:\GenLed\Reports\ReportJournalEntry" TO PRINTER PROMPT NODIALOG PREVIEW&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Refresh()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Not balance.", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div style="text-align: justify;"&gt;ELSE&lt;/div&gt;&lt;div style="text-align: justify;"&gt;=MESSAGEBOX("Choose Journal Entry.", "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4776362436870927430?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4776362436870927430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4776362436870927430'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/12/balance-code.html' title='Balance Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3767541819521085916</id><published>2010-12-02T01:45:00.000-08:00</published><updated>2010-12-02T01:45:00.931-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='table update'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='requery'/><title type='text'>Table Update Code</title><content type='html'>Sample of table update implemented in replace:&lt;br /&gt;&lt;br /&gt;SELECT SviewAccountList&lt;br /&gt;lBranches = pBranchName&lt;br /&gt;=REQUERY("SviewAccountList")&lt;br /&gt;LOCATE FOR (IdNum) = (THISFORM.Text34.Value)&lt;br /&gt;IF FOUND()&lt;br /&gt;REPLACE TotalDebit WITH THISFORM.TEXT15.Value&lt;br /&gt;REPLACE TotalCredit WITH THISFORM.TEXT18.Value &lt;br /&gt;REPLACE EndingBalance WITH THISFORM.TEXT26.Value &lt;br /&gt;REPLACE Lines WITH "POST"&lt;br /&gt;REPLACE LDate WITH DATE() &lt;br /&gt;=TABLEUPDATE(.T.)&lt;br /&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3767541819521085916?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3767541819521085916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3767541819521085916'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/12/table-update-code.html' title='Table Update Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-6143457062281438992</id><published>2010-12-01T01:43:00.000-08:00</published><updated>2011-01-11T20:02:21.582-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='value'/><category scheme='http://www.blogger.com/atom/ns#' term='thisform'/><category scheme='http://www.blogger.com/atom/ns#' term='do case'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='visual  foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><title type='text'>Do Case Code</title><content type='html'>DO CASE&lt;br /&gt;CASE THISFORM.Text33.VALUE = "1"&lt;br /&gt;THISFORM.Text22.Value = "ASSET"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;CASE THISFORM.Text33.VALUE = "2"&lt;br /&gt;THISFORM.Text22.Value = "LIABILITY"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;CASE THISFORM.Text33.VALUE = "3"&lt;br /&gt;THISFORM.Text22.Value = "CAPITAL"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;CASE THISFORM.Text33.VALUE = "4"&lt;br /&gt;THISFORM.Text22.Value = "OPN"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;CASE THISFORM.Text33.VALUE = "5"&lt;br /&gt;THISFORM.Text22.Value = "INCOME"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value - THISFORM.Text10.Value + THISFORM.Text11.Value&lt;br /&gt;CASE THISFORM.Text33.VALUE = "6"&lt;br /&gt;THISFORM.Text22.Value = "EXPENSE"&lt;br /&gt;THISFORM.Text15.Value = THISFORM.Text13.Value + THISFORM.Text10.Value&lt;br /&gt;THISFORM.Text18.Value = THISFORM.Text14.Value + THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text25.Value = THISFORM.Text23.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;THISFORM.Text26.Value = THISFORM.Text24.Value + THISFORM.Text10.Value - THISFORM.Text11.Value&lt;br /&gt;ENDCASE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-6143457062281438992?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6143457062281438992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6143457062281438992'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/12/do-case-code.html' title='Do Case Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5790163541334087479</id><published>2010-11-18T22:03:00.000-08:00</published><updated>2010-11-18T22:03:00.477-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='counter'/><category scheme='http://www.blogger.com/atom/ns#' term='selectscan'/><category scheme='http://www.blogger.com/atom/ns#' term='lcounter'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='endscan'/><title type='text'>Counter Code</title><content type='html'>PUBLIC pEndBegin, pidnum&lt;br /&gt;SELECT SviewAccountList&lt;br /&gt;lBranches = pBranchName&lt;br /&gt;=REQUERY("SviewAccountList")&lt;br /&gt;GO TOP&lt;br /&gt;lCounter = RECCOUNT()&lt;br /&gt;SCAN&lt;br /&gt; pEndBegin = SviewAccountList.EndingBalance&lt;br /&gt; pIdNum = SviewAccountList.IdNum&lt;br /&gt; SELECT SviewAccountList&lt;br /&gt; LOCATE FOR IdNum = pIdNum &lt;br /&gt; IF FOUND()&lt;br /&gt;  REPLACE BeginBal WITH pEndBegin&lt;br /&gt;  REPLACE tagsked WITH CMONTH(DATE())&lt;br /&gt; ENDIF&lt;br /&gt;ENDSCAN&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5790163541334087479?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5790163541334087479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5790163541334087479'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/11/counter-code.html' title='Counter Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5654978182280162034</id><published>2010-11-10T20:26:00.000-08:00</published><updated>2011-01-11T20:02:44.060-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='group header'/><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting report'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='data grouping'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro report'/><category scheme='http://www.blogger.com/atom/ns#' term='trial balance'/><title type='text'>Trial Balance Report</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QKt3n_jI/AAAAAAAAAN0/O7BJ20xJuuQ/s1600/trial+balance+report.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="193" src="http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QKt3n_jI/AAAAAAAAAN0/O7BJ20xJuuQ/s400/trial+balance+report.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5654978182280162034?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5654978182280162034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5654978182280162034'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/11/trial-balance-report.html' title='Trial Balance Report'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QKt3n_jI/AAAAAAAAAN0/O7BJ20xJuuQ/s72-c/trial+balance+report.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4579108456176097595</id><published>2010-11-08T20:33:00.000-08:00</published><updated>2010-11-10T01:11:51.337-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='empty'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='Clearpage Code'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='keypress'/><title type='text'>Avoid Backspace on Previous Textbox Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Have you ever experience that when you press backspace and if the character on current textbox is fully deleted that it goes on previous textbox?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Try to put the following code on keypress of a textbox&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF EMPTY(THIS.SelStart)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF NKEYCODE=127&lt;/div&gt;&lt;div style="text-align: justify;"&gt;KEYBOARD '{DNARROW}'&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4579108456176097595?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4579108456176097595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4579108456176097595'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/11/avoid-backspace-on-previous-textbox.html' title='Avoid Backspace on Previous Textbox Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4606784248827475651</id><published>2010-11-01T20:29:00.000-07:00</published><updated>2011-01-11T20:04:08.725-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='log in'/><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting form'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='branch name'/><category scheme='http://www.blogger.com/atom/ns#' term='username'/><category scheme='http://www.blogger.com/atom/ns#' term='incorrect password'/><title type='text'>Login Form</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QvndlZKI/AAAAAAAAAN4/WZT9C7c6YqM/s1600/login.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" ex="true" height="400" src="http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QvndlZKI/AAAAAAAAAN4/WZT9C7c6YqM/s400/login.JPG" width="393" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Fill-out the Username, Password and Branch field and click the OK button to continue. The following spaces should be filled with correct Username, Password and desired Branch to continue. Selected branch will give you information and data for that branch only.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4606784248827475651?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4606784248827475651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4606784248827475651'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/11/login-form.html' title='Login Form'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bPNYb1LeG6E/TL0QvndlZKI/AAAAAAAAAN4/WZT9C7c6YqM/s72-c/login.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3448870049579080591</id><published>2010-10-29T01:45:00.000-07:00</published><updated>2010-10-18T20:24:29.650-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting form'/><category scheme='http://www.blogger.com/atom/ns#' term='activity log'/><category scheme='http://www.blogger.com/atom/ns#' term='traceability'/><category scheme='http://www.blogger.com/atom/ns#' term='picture'/><title type='text'>Activity Log in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL7rq0PLQI/AAAAAAAAAKQ/B_5iRySiAVs/s1600/activity+log+foxpro.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="363" px="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL7rq0PLQI/AAAAAAAAAKQ/B_5iRySiAVs/s400/activity+log+foxpro.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;﻿This is my first sample form of Activity Log in FoxPro. My current project which is a General ledger required me to have Activity Log. It is easy to make a log but requires me to update the table from different form and command such as login, logout, add, edit, delete and post. But will be handy of traceability purpose.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3448870049579080591?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3448870049579080591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3448870049579080591'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/activity-log-in-foxpro.html' title='Activity Log in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL7rq0PLQI/AAAAAAAAAKQ/B_5iRySiAVs/s72-c/activity+log+foxpro.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5003496154503483267</id><published>2010-10-29T01:39:00.000-07:00</published><updated>2011-01-11T20:04:22.596-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='journal entry'/><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting form'/><category scheme='http://www.blogger.com/atom/ns#' term='general ledger'/><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='trial balance'/><category scheme='http://www.blogger.com/atom/ns#' term='trial balance image'/><title type='text'>Trial Balance in FoxPro</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL6LxE-PMI/AAAAAAAAAKM/SRjyRA38kLM/s1600/trial+balance.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="247" px="true" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL6LxE-PMI/AAAAAAAAAKM/SRjyRA38kLM/s400/trial+balance.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Sample form of Trial Balance in Journal Entries or General Ledger.﻿ General Ledger is one of the famous system that is being develop or being automate for faster, easy processing.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5003496154503483267?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5003496154503483267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5003496154503483267'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/trial-balance-in-foxpro.html' title='Trial Balance in FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/TKL6LxE-PMI/AAAAAAAAAKM/SRjyRA38kLM/s72-c/trial+balance.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1050922840807344956</id><published>2010-10-29T01:26:00.000-07:00</published><updated>2010-10-18T20:32:46.476-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='if found()'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='locate()'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><category scheme='http://www.blogger.com/atom/ns#' term='signatory'/><title type='text'>Changing Signatory Code</title><content type='html'>Most of the program I made out of FoxPro required signatory. This signatory can be achieve upon login into the system.&lt;br /&gt;&lt;br /&gt;SELECT Signatory&lt;br /&gt;LOCATE FOR signnum = 1&lt;br /&gt;IF FOUND()&lt;br /&gt;REPLACE SignName WITH THISFORM.Text1.Value&lt;br /&gt;REPLACE SignPostion WITH THISFORM.Text2.Value&lt;br /&gt;ENDIF&lt;br /&gt;LOCATE FOR signnum = 2&lt;br /&gt;IF FOUND() &lt;br /&gt;REPLACE SignName WITH THISFORM.Text3.Value&lt;br /&gt;REPLACE SignPostion WITH THISFORM.Text4.Value&lt;br /&gt;ENDIF&lt;br /&gt;LOCATE FOR signnum = 3&lt;br /&gt;IF FOUND() &lt;br /&gt;REPLACE SignName WITH THISFORM.Text5.Value&lt;br /&gt;REPLACE SignPostion WITH THISFORM.Text6.Value&lt;br /&gt;ENDIF&lt;br /&gt;=MESSAGEBOX("Signatories successfully save.")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1050922840807344956?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1050922840807344956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1050922840807344956'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/changing-signatory.html' title='Changing Signatory Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5656909223417701512</id><published>2010-10-29T01:22:00.000-07:00</published><updated>2010-10-18T20:24:50.856-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='endif'/><category scheme='http://www.blogger.com/atom/ns#' term='if else'/><category scheme='http://www.blogger.com/atom/ns#' term='image'/><category scheme='http://www.blogger.com/atom/ns#' term='edit'/><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='close'/><category scheme='http://www.blogger.com/atom/ns#' term='jpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='picture'/><title type='text'>Changing Image or Picture of a Button</title><content type='html'>You can definitely change the picture of your bitton upon clicking, try these codes and play with the images. But first you have to prepare the image in JPEG.&lt;br /&gt;&lt;br /&gt;IF THIS.Picture = "c:\images\edit.jpg"&lt;br /&gt;THIS.Picture = "c:\images\save.jpg"&lt;br /&gt;THISFORM.cmdClose.Picture = "c:\images\cancel.jpg"&lt;br /&gt;ELSE&lt;br /&gt;IF THISFORM.Combo1.Value = 'PESO'&lt;br /&gt;lAnswer = MESSAGEBOX("Save changes?", 4, "Confirmation")&lt;br /&gt;IF lAnswer = 6&lt;br /&gt;THISFORM.cmdClose.Picture = "c:\images\close.jpg"&lt;br /&gt;THISFORM.cmdEdit.Picture = "c:\images\edit.jpg"&lt;br /&gt;ENDIF&lt;br /&gt;ELSE THISFORM.COMBO1.Value = 'DOLLAR'&lt;br /&gt;lAnswer = MESSAGEBOX("Save changes?", 4, "Confirmation")&lt;br /&gt;IF lAnswer = 6&lt;br /&gt;THISFORM.cmdClose.Picture = "c:\images\close.jpg"&lt;br /&gt;THISFORM.cmdEdit.Picture = "c:\images\edit.jpg"&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5656909223417701512?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5656909223417701512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5656909223417701512'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/changing-image-or-picture-of-button.html' title='Changing Image or Picture of a Button'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-8897385518425700034</id><published>2010-09-29T01:17:00.000-07:00</published><updated>2011-01-11T20:04:30.287-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='character'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='textbox'/><title type='text'>Determining First Character</title><content type='html'>If you wwould like to determine the first character or first three characters etc of your textbox, you can use below foxpro codes: &lt;br /&gt;&lt;br /&gt;THISFORM.Text1.VALUE = LEFT(TRANS(THISFORM.Text2.Value),1)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-8897385518425700034?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8897385518425700034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8897385518425700034'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/determining-first-character.html' title='Determining First Character'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-742735243661731993</id><published>2010-09-05T23:21:00.000-07:00</published><updated>2010-09-05T23:21:52.149-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='dalete'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='table'/><title type='text'>Delete Data in a Table Code</title><content type='html'>Deleting data from the local table.&lt;br /&gt;&lt;br /&gt;SET EXCLUSIVE ON&lt;br /&gt;USE "C:\EMPLOYEE\DATA\EmployeeList" &lt;br /&gt;DELETE ALL&lt;br /&gt;PACK&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-742735243661731993?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/742735243661731993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/742735243661731993'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/delete-data-in-table-code.html' title='Delete Data in a Table Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7057514292312897594</id><published>2010-09-05T23:16:00.000-07:00</published><updated>2010-09-05T23:16:14.475-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='month'/><category scheme='http://www.blogger.com/atom/ns#' term='year'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='day'/><title type='text'>Day Month Year Code</title><content type='html'>THISFORM.TEXT1.VALUE = DAY(DATE())&lt;br /&gt;THISFORM.TEXT2.VALUE = CMONTH(DATE())&lt;br /&gt;THISFORM.TEXT3.VALUE = YEAR(DATE())&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7057514292312897594?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7057514292312897594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7057514292312897594'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/day-month-year-code.html' title='Day Month Year Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-6525450625570378000</id><published>2010-09-05T23:13:00.000-07:00</published><updated>2011-01-11T20:04:48.605-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='prg'/><category scheme='http://www.blogger.com/atom/ns#' term='set main'/><category scheme='http://www.blogger.com/atom/ns#' term='main program'/><title type='text'>Main Program</title><content type='html'>SET CLASSLIB TO C:\GenLed\Classlib\frame&lt;br /&gt;SET CLASSLIB TO C:\GenLed\Classlib\basectrl ADDITIVE&lt;br /&gt;SET CLASSLIB TO C:\GenLed\Classlib\DeBrief&lt;br /&gt;_screen.picture = "C:\GenLed\Images\background.bmp"&lt;br /&gt;&lt;br /&gt;SET CENTURY ON&lt;br /&gt;SET CENTURY TO 19 ROLLOVER 60&lt;br /&gt;SET EXCLUSIVE OFF&lt;br /&gt;&lt;br /&gt;RUN NumToWords&lt;br /&gt;&lt;br /&gt;DO FORM "C:\GenLed\Forms\Login"&lt;br /&gt;&lt;br /&gt;ON SHUTDOWN QUIT&lt;br /&gt;MainApp = CREATEOBJECT("DEBRIEF", "FMLFC GENLED - Accounting Systematic Tool")&lt;br /&gt;MainApp.ReadEvents()&lt;br /&gt;&lt;br /&gt;SET CLASSLIB TO&lt;br /&gt;RETURN&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-6525450625570378000?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6525450625570378000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/6525450625570378000'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/09/main-program.html' title='Main Program'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-512335146976670298</id><published>2010-08-25T02:24:00.001-07:00</published><updated>2010-08-25T02:24:29.152-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='on shutdown'/><category scheme='http://www.blogger.com/atom/ns#' term='logout'/><category scheme='http://www.blogger.com/atom/ns#' term='quit'/><category scheme='http://www.blogger.com/atom/ns#' term='log out'/><category scheme='http://www.blogger.com/atom/ns#' term='clear events'/><title type='text'>Log Out Code</title><content type='html'>PUBLIC pCurrUser&lt;br /&gt;SELECT SviewAccess&lt;br /&gt;=REQUERY("SviewAccess")&lt;br /&gt;LOCATE FOR ALLTRIM(UserName) = ALLTRIM(pCurrUser)&lt;br /&gt;IF FOUND()&lt;br /&gt;REPLACE AccessStatus WITH "LOGOUT"&lt;br /&gt;THISFORM.REFRESH&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;CLEAR EVENTS&lt;br /&gt;ON ShutDown&lt;br /&gt;QUIT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-512335146976670298?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/512335146976670298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/512335146976670298'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/log-out-code.html' title='Log Out Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3689669013776303435</id><published>2010-08-15T21:54:00.000-07:00</published><updated>2010-08-15T21:57:50.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='messagebox'/><category scheme='http://www.blogger.com/atom/ns#' term='particular'/><category scheme='http://www.blogger.com/atom/ns#' term='reference document'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='grid'/><category scheme='http://www.blogger.com/atom/ns#' term='public'/><category scheme='http://www.blogger.com/atom/ns#' term='journal form'/><title type='text'>Journal Entries on Journal Form</title><content type='html'>&lt;div align="justify"&gt;Upon clicking the grid a new form will appear where you can add information. It will also retain information from previous form such as Journal Number, Reference Documents and Particular.&lt;br /&gt;&lt;br /&gt;PUBLIC pJournalNo, pJeNum, pRefDocu, pPart&lt;br /&gt;IF !EMPTY(THISFORM.Text5.VALUE)&lt;br /&gt;IF !EMPTY(THISFORM.Text7.VALUE)&lt;br /&gt;THISFORM.Cs_Branches()&lt;br /&gt;pJournalNo = THISFORM.Text5.VALUE&lt;br /&gt;pJeNum = INT(THISFORM.Text7.VALUE)&lt;br /&gt;pRefDocu = THISFORM.Text8.VALUE&lt;br /&gt;pPart = THISFORM.Text1.VALUE&lt;br /&gt;DO FORM "C:\GenLed\Forms\JournalForm"&lt;br /&gt;ELSE&lt;br /&gt;pJournalNo = THISFORM.Text5.VALUE&lt;br /&gt;pRefDocu = THISFORM.Text8.VALUE&lt;br /&gt;pPart = THISFORM.Text1.VALUE&lt;br /&gt;pJeNum = ""&lt;br /&gt;DO FORM "C:\GenLed\Forms\JournalForm"&lt;br /&gt;ENDIF&lt;br /&gt;ELSE&lt;br /&gt;=MESSAGEBOX("Select a Journal Number", "Confirmation")&lt;br /&gt;ENDIF&lt;br /&gt;THISFORM.Grid1.Refresh&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3689669013776303435?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3689669013776303435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3689669013776303435'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/journal-entries-on-journal-form.html' title='Journal Entries on Journal Form'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4603407018991717999</id><published>2010-08-15T20:45:00.001-07:00</published><updated>2010-09-05T23:17:13.413-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='connection string'/><category scheme='http://www.blogger.com/atom/ns#' term='very connection'/><category scheme='http://www.blogger.com/atom/ns#' term='sql server'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>SQL Connections</title><content type='html'>Using SQL Server, you will need a connection string to be able to access the database. Here is the basic connection string format.&lt;br /&gt;&lt;br /&gt;DRIVER=sql server;SERVER=ServerName;UID=UserName;PWD=Password;APP=Microsoft Visual;WSID=PcName;DATABASE=DatabaseName&lt;br /&gt;&lt;br /&gt;Do not forget to verify connection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4603407018991717999?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4603407018991717999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4603407018991717999'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/sql-connections.html' title='SQL Connections'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4084389226478276356</id><published>2010-08-15T20:38:00.000-07:00</published><updated>2011-01-11T20:04:59.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='image'/><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='background. vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='main program'/><title type='text'>Add Image on FoxPro Background</title><content type='html'>&lt;div align="justify"&gt;Are you bored on all white background of your FoxPro Program? Now you can pick or put a background image on your program. Just include this line of code on your main program and specify the locatin of the image.&lt;br /&gt;&lt;br /&gt;_screen.picture = "C:\GenLed\Images\background.bmp"&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4084389226478276356?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4084389226478276356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4084389226478276356'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/add-image-on-foxpro-background.html' title='Add Image on FoxPro Background'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1122493269431489551</id><published>2010-07-25T02:30:00.000-07:00</published><updated>2010-09-29T04:34:57.492-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='footer'/><category scheme='http://www.blogger.com/atom/ns#' term='report designer'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='data grouping'/><category scheme='http://www.blogger.com/atom/ns#' term='frx'/><title type='text'>Trial Balance Report</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/THTh1ifzxhI/AAAAAAAAAFc/frvX1gsnHuY/s1600/report.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" ox="true" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/THTh1ifzxhI/AAAAAAAAAFc/frvX1gsnHuY/s400/report.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: justify;"&gt;Here is the sample report designer or FRX. You can use groups in the report designer. As you can see, I used Data Groupings. You will group by the field "Name" for example. In the group footer, you can use a variable which sums the field "amount". Right click your report and look at the tabs Data Grouping and Variables. &lt;/div&gt;&lt;br /&gt;Special Thanks to Samir of Foxite.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1122493269431489551?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1122493269431489551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1122493269431489551'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/trial-balance-report.html' title='Trial Balance Report'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/THTh1ifzxhI/AAAAAAAAAFc/frvX1gsnHuY/s72-c/report.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2333158642419347922</id><published>2010-07-15T19:42:00.000-07:00</published><updated>2010-08-25T02:24:39.611-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='append blank'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='activity log'/><category scheme='http://www.blogger.com/atom/ns#' term='username'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='journal entries'/><title type='text'>Activity Log Code</title><content type='html'>&lt;div align="justify"&gt;This is the first time I will be using Activity Log on my program. Where the User or Admin can view the activity of a certain user such as adding or editing. You can also add certain specific information such as amount and account chart of journal entries.&lt;br /&gt;&lt;br /&gt;SELECT SviewActivityLog&lt;br /&gt;APPEND BLANK&lt;br /&gt;REPLACE UserName WITH pCurrUser&lt;br /&gt;REPLACE ActivityDate WITH DATE()&lt;br /&gt;REPLACE ActivityLog WITH "Add Journal Entries in "+ALLTRIM(pBranchName)+".."&lt;br /&gt;&lt;br /&gt;SELECT SviewActivityLog&lt;br /&gt;APPEND BLANK&lt;br /&gt;REPLACE UserName WITH pCurrUser&lt;br /&gt;REPLACE ActivityDate WITH DATE()&lt;br /&gt;REPLACE ActivityLog WITH "Edit Journal Entries in "+ALLTRIM(pBranchName)+".."&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2333158642419347922?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2333158642419347922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2333158642419347922'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/activity-log.html' title='Activity Log Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1066155316863069619</id><published>2010-07-15T19:39:00.000-07:00</published><updated>2011-01-11T21:01:43.163-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='login code'/><category scheme='http://www.blogger.com/atom/ns#' term='block'/><category scheme='http://www.blogger.com/atom/ns#' term='username'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='incorrect password'/><category scheme='http://www.blogger.com/atom/ns#' term='public'/><title type='text'>Login Code</title><content type='html'>SELECT SviewAccess&lt;br /&gt;=REQUERY("SviewAccess")&lt;br /&gt;PUBLIC pCurrUser, pBranchName&lt;br /&gt;LOCATE FOR ALLTRIM(LOWER(Username)) = ALLTRIM(LOWER(THISFORM.Text1.Value))&lt;br /&gt;IF FOUND()&lt;br /&gt;IF ALLTRIM(AccessStatus) = "LOGOUT"&lt;br /&gt;IF THISFORM.Text3.Value = 3&lt;br /&gt;WAIT WINDOW "Three (3) incorrect attempts." NOWAIT&lt;br /&gt;REPLACE SviewAccess.AccessStatus WITH "BLOCK"&lt;br /&gt;THISFORM.Release()&lt;br /&gt;QUIT&lt;br /&gt;ELSE&lt;br /&gt;IF EMPTY(ALLTRIM(THISFORM.Text2.Value))&lt;br /&gt;WAIT WINDOW "Cannot continue without password." NOWAIT&lt;br /&gt;ELSE&lt;br /&gt;IF EMPTY(ALLTRIM(THISFORM.Combo1.Value))&lt;br /&gt;WAIT WINDOW "Cannot continue without Branch Office." NOWAIT&lt;br /&gt;ELSE&lt;br /&gt;IF LOWER(ALLTRIM(Password)) == LOWER(ALLTRIM(THISFORM.Text2.Value))&lt;br /&gt;WAIT WINDOW "Welcome " + Username NOWAIT&lt;br /&gt;pDept = ALLTRIM(sviewaccess.AccessDepartment)&lt;br /&gt;pCurrUser = ALLTRIM(Username)&lt;br /&gt;pFullName = ALLTRIM(FullName)&lt;br /&gt;pPassword = ALLTRIM(sViewAccess.Password)&lt;br /&gt;pBranchName = ALLTRIM(THISFORM.Combo1.Value)&lt;br /&gt;IF (ALLTRIM(THISFORM.Text1.Value)) = "MUFFIE"&lt;br /&gt;ELSE&lt;br /&gt;REPLACE SviewAccess.AccessStatus WITH "LOGIN"&lt;br /&gt;ENDIF&lt;br /&gt;THISFORM.ActivityLogin()&lt;br /&gt;SELECT SviewAccess&lt;br /&gt;=TABLEUPDATE(.T.)&lt;br /&gt;THISFORM.Release()&lt;br /&gt;=REQUERY("SviewAccess")&lt;br /&gt;ELSE&lt;br /&gt;WAIT WINDOW "Incorrect Password." NOWAIT&lt;br /&gt;THISFORM.Text3.Value = THISFORM.Text3.Value + 1&lt;br /&gt;THISFORM.Text2.SetFocus()&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;br /&gt;ELSE&lt;br /&gt;=MESSAGEBOX("User currently Logged In : "+ ALLTRIM(SviewAccess.FullName)+" station.", "MultiUser: Block")&lt;br /&gt;ENDIF&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1066155316863069619?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1066155316863069619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1066155316863069619'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/login-code.html' title='Login Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4088380842512624790</id><published>2010-07-15T19:31:00.000-07:00</published><updated>2010-08-15T19:45:51.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='messagebox'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='branch name'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='alltrim'/><category scheme='http://www.blogger.com/atom/ns#' term='public'/><title type='text'>Public</title><content type='html'>&lt;div align="justify"&gt;Recently I learned how to use PUBLIC in getting info or data from another form to another form. And it was very usable for me since my program has a login and branch name requirements.&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;On Login Form&lt;br /&gt;PUBLIC pBranchName&lt;br /&gt;pBranchName = ALLTRIM(THISFORM.Combo1.Value)&lt;br /&gt;&lt;br /&gt;On Branch Setting Form&lt;br /&gt;PUBLIC pBranchName&lt;br /&gt;THISFORM.Label18.Caption = pBranchName&lt;br /&gt;&lt;br /&gt;On Journal Entry Form&lt;br /&gt;PUBLIC pBranchName&lt;br /&gt;LOCATE FOR ALLTRIM(BranchName) = ALLTRIM(THISFORM.Combo1.Value)&lt;br /&gt;pBranchName = ALLTRIM(BranchName)&lt;br /&gt;= MESSAGEBOX("You select "+ALLTRIM(pBranchName)+" Office?", "Confirmation")&lt;br /&gt;THISFORM.Release()&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4088380842512624790?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4088380842512624790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4088380842512624790'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/public.html' title='Public'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5708184220389149105</id><published>2010-06-29T05:28:00.000-07:00</published><updated>2010-09-29T04:34:28.182-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='if else'/><category scheme='http://www.blogger.com/atom/ns#' term='close'/><category scheme='http://www.blogger.com/atom/ns#' term='release'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='picture'/><category scheme='http://www.blogger.com/atom/ns#' term='cancel'/><category scheme='http://www.blogger.com/atom/ns#' term='combo box data'/><category scheme='http://www.blogger.com/atom/ns#' term='release()'/><title type='text'>Cancel Close Code</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S7Cd7Q6hPMI/AAAAAAAAAEY/RyHEcLgzYak/s1600/close+vfp.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5454032790223928514" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S7Cd7Q6hPMI/AAAAAAAAAEY/RyHEcLgzYak/s320/close+vfp.JPG" style="cursor: hand; display: block; height: 275px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/S7CdwrGjvsI/AAAAAAAAAEQ/Tn-XFYcSXd8/s1600/cancel+vfp.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5454032608275185346" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/S7CdwrGjvsI/AAAAAAAAAEQ/Tn-XFYcSXd8/s320/cancel+vfp.JPG" style="cursor: hand; display: block; height: 276px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;If you want your button's picture to change when your Close/Cancel button also changed.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IF THIS.Picture = "c:\SalesMarket\Images\close.jpg"&lt;/div&gt;&lt;div&gt;THISFORM.Release()&lt;/div&gt;&lt;div&gt;ELSE&lt;/div&gt;&lt;div&gt;THIS.Picture = "c:\SalesMarket\Images\close.jpg"&lt;/div&gt;&lt;div&gt;THISFORM.ReadOnlyTrue()&lt;/div&gt;&lt;div&gt;THISFORM.Combo1.Enabled = .F.&lt;/div&gt;&lt;div&gt;THISFORM.cmdPrint.Enabled = .T.&lt;/div&gt;&lt;div&gt;THISFORM.cmdEdit.Enabled = .T.&lt;/div&gt;&lt;div&gt;THISFORM.cmdEdit.Picture = "c:\SalesMarket\Images\edit.jpg"&lt;/div&gt;&lt;div&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5708184220389149105?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5708184220389149105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5708184220389149105'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/03/cancel-close-code.html' title='Cancel Close Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bPNYb1LeG6E/S7Cd7Q6hPMI/AAAAAAAAAEY/RyHEcLgzYak/s72-c/close+vfp.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7680119678583243296</id><published>2010-06-15T19:26:00.000-07:00</published><updated>2011-01-11T21:01:50.855-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='local view'/><category scheme='http://www.blogger.com/atom/ns#' term='visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='remote view'/><category scheme='http://www.blogger.com/atom/ns#' term='filter'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='requery'/><category scheme='http://www.blogger.com/atom/ns#' term='view'/><title type='text'>Local View and Remote View</title><content type='html'>Samples of Local View and Remote View with different filter using like, between and =.&lt;br /&gt;&lt;br /&gt;SELECT SviewAccountChart&lt;br /&gt;lAccountCode = ALLTRIM(THISFORM.Text16.Value)+"%"&lt;br /&gt;=REQUERY("SviewAccountChart")&lt;br /&gt;&lt;br /&gt;SELECT SviewJvHeader&lt;br /&gt;lJvNo = ALLTRIM(THISFORM.Text20.Value)+"%"&lt;br /&gt;lJvBranch = ALLTRIM(THISFORM.Text21.Value)+"%"&lt;br /&gt;=REQUERY("SviewJvHeader")&lt;br /&gt;&lt;br /&gt;SELECT SviewCheckIssueReg&lt;br /&gt;lCheckNum = ALLTRIM(THISFORM.Text20.Value)+"%"&lt;br /&gt;lCheckType = ALLTRIM(THISFORM.Combo3.Value)+"%"&lt;br /&gt;StartDate = THISFORM.Text14.Value&lt;br /&gt;EndDate = THISFORM.Text15.Value&lt;br /&gt;=REQUERY("SviewCheckIssueReg")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7680119678583243296?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7680119678583243296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7680119678583243296'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/local-view-and-remote-view.html' title='Local View and Remote View'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7786428952389633686</id><published>2010-06-15T19:24:00.000-07:00</published><updated>2010-08-15T19:38:30.496-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='open'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='shellexecute'/><category scheme='http://www.blogger.com/atom/ns#' term='filename'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf file'/><title type='text'>Opening a PDF File</title><content type='html'>&lt;div align="justify"&gt;You can open a PDF file in VFP b using below codes. Just specify the location of your PDF file on cFileName&lt;br /&gt;&lt;br /&gt;DECLARE INTEGER ShellExecute IN shell32.dll ;&lt;br /&gt;INTEGER hndWin, ;&lt;br /&gt;STRING cAction, ;&lt;br /&gt;STRING cFileName, ;&lt;br /&gt;STRING cParams, ;&lt;br /&gt;STRING cDir, ;&lt;br /&gt;INTEGER nShowWin&lt;br /&gt;cFileName = "c:\GenLed\Images\CC.pdf"&lt;br /&gt;cAction = "open"&lt;br /&gt;ShellExecute(0,cAction,cFileName,"","",1) &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7786428952389633686?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7786428952389633686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7786428952389633686'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/opening-pdf-file.html' title='Opening a PDF File'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-9192917132739621895</id><published>2010-06-15T19:20:00.000-07:00</published><updated>2010-10-20T02:08:05.022-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='read events'/><category scheme='http://www.blogger.com/atom/ns#' term='quit'/><category scheme='http://www.blogger.com/atom/ns#' term='close'/><category scheme='http://www.blogger.com/atom/ns#' term='Exut'/><category scheme='http://www.blogger.com/atom/ns#' term='clear events'/><title type='text'>Close or Exit Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Sometimes when you tried to exit or close the program but unsuccessfully close. Try below codes. This is due to the READ EVENTS that sre still running so you need to CLEAR EVENTS then QUIT.&lt;/div&gt;&lt;br /&gt;CLEAR EVENTS&lt;br /&gt;QUIT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-9192917132739621895?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/9192917132739621895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/9192917132739621895'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/08/close-or-exit.html' title='Close or Exit Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-5937902251655942993</id><published>2010-05-29T01:44:00.000-07:00</published><updated>2010-09-29T04:33:51.419-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='disable'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='enable'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Disable Code</title><content type='html'>How to disable command button, text box, combo box, grid and pageframe:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;div&gt;Thisform.Command1.Enabled = .F.&lt;/div&gt;&lt;div&gt;Thisform.Text1.Enabled = .F.&lt;/div&gt;&lt;div&gt;Thisform.Combo1.Enabled = .F.&lt;/div&gt;&lt;div&gt;Thisform.Grid1Enabled = .F.&lt;/div&gt;&lt;div&gt;Thisform.Pageframe1.Enabled = .F.&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-5937902251655942993?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5937902251655942993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/5937902251655942993'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/disable-code.html' title='Disable Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2591462129842787337</id><published>2010-05-23T02:15:00.000-07:00</published><updated>2010-05-23T02:26:23.188-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='graph in form'/><category scheme='http://www.blogger.com/atom/ns#' term='mycursor'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='olegraph'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='graph'/><category scheme='http://www.blogger.com/atom/ns#' term='making a vfp graph'/><title type='text'>FoxPro Graph</title><content type='html'>&lt;div style="text-align: justify;"&gt;To those who are neophyte in VFP Language might have a hard time researching and building a graph in a form and report. I also had a hard time making a graph when I first encountered a VFP Project with a graph. But once you learned, it is easy for the next project to bulid a graph in form and report.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You need the following requirements before continuing to the graph:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Table&lt;/div&gt;&lt;div style="text-align: justify;"&gt;OleGraph&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Grid &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT * FROM crewquestion INTO CURSOR MYCURSOR&lt;/div&gt;&lt;div style="text-align: justify;"&gt;TAB = CHR(09)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CRLF = CHR(13) + CHR(10)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT MYCURSOR&lt;/div&gt;&lt;div style="text-align: justify;"&gt;NEWDATA = TAB + "Recruitment &amp;amp; Selection" + TAB + "Documentation" + TAB ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;+ "In House Training" + TAB + "Accounting Activity" + TAB + "Working Gears" + ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CRLF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;NEWDATA = NEWDATA + TAB + STR(question1) + TAB + STR(question2) + TAB ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;+ STR(question3) + TAB + STR(question4) + TAB + STR(question5) + ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CRLF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDSCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT crewquestion&lt;/div&gt;&lt;div style="text-align: justify;"&gt;APPEND GENERAL crewques1.Olegraph DATA NEWDATA&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT crewquestion&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.REFRESH&lt;/div&gt; &lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT * FROM crewquestion INTO CURSOR MYCURSOR&lt;/div&gt;&lt;div style="text-align: justify;"&gt;TAB = CHR(09)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;CRLF = CHR(13) + CHR(10)&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT MYCURSOR&lt;/div&gt;&lt;div style="text-align: justify;"&gt;NEWDATA = TAB + "Padala Sytem" + TAB + "Company Facilities" + TAB + "Attitude of Staff" + TAB ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;+ "P&amp;amp;I Medical Assistance" + CRLF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;NEWDATA = NEWDATA + TAB + STR(question6a) + TAB + STR(question6b) + TAB + STR(question6c) + TAB ;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;+ STR(question6d) + CRLF&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDSCAN&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT crewquestion&lt;/div&gt;&lt;div style="text-align: justify;"&gt;APPEND GENERAL crewques2.Olegraph DATA NEWDATA&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT crewquestion&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.REFRESH&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2591462129842787337?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2591462129842787337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2591462129842787337'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/05/foxpro-graph.html' title='FoxPro Graph'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4845209879152379065</id><published>2010-05-23T02:06:00.000-07:00</published><updated>2010-05-23T02:10:45.836-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='edit box'/><category scheme='http://www.blogger.com/atom/ns#' term='back color'/><category scheme='http://www.blogger.com/atom/ns#' term='color'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='text box'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='grid'/><category scheme='http://www.blogger.com/atom/ns#' term='combo box data'/><title type='text'>Back Color</title><content type='html'>&lt;div style="text-align: justify;"&gt;Changing the back color of an Edit Box. Same applies to Text Box, Combo Box or Grid.&lt;/div&gt;&lt;br /&gt;THISFORM.TEXT1.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT1.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT2.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT3.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT4.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT5.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT6.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT7.BackColor = RGB(255,255,255)&lt;br /&gt;THISFORM.EDIT8.BackColor = RGB(255,255,255)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4845209879152379065?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4845209879152379065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4845209879152379065'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/05/back-color.html' title='Back Color'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3199464979654558267</id><published>2010-05-23T01:52:00.000-07:00</published><updated>2010-05-23T02:11:59.860-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='endif'/><category scheme='http://www.blogger.com/atom/ns#' term='if else'/><category scheme='http://www.blogger.com/atom/ns#' term='edit'/><category scheme='http://www.blogger.com/atom/ns#' term='indicator'/><category scheme='http://www.blogger.com/atom/ns#' term='Clearpage Code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Empty Box</title><content type='html'>This code lets you use an Edit Box and will saved "Y" if the edit box is not empty otherwise save "N" if the edit box is blank. This is useful if you need to show in a View what Edit Box has an input and will not include blank.&lt;br /&gt;&lt;br /&gt;SELECT QuestionTable&lt;br /&gt;REPLACE q1comment WITH THISFORM.EDIT1.Value&lt;br /&gt;IF EMPTY(THISFORM.EDIT1.Value)&lt;br /&gt;REPLACE Q1Indicator WITH "N"&lt;br /&gt;ELSE&lt;br /&gt;REPLACE Q1Indicator WITH "Y"&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3199464979654558267?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3199464979654558267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3199464979654558267'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/05/this-code-lets-you-use-edit-box-and.html' title='Empty Box'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7304889346954465667</id><published>2010-04-29T01:48:00.000-07:00</published><updated>2010-09-29T04:33:45.617-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='Clearpage Code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='clear page'/><title type='text'>Clearpage Code</title><content type='html'>&lt;div&gt;THISFORM.Text1.VALUE = ""&lt;/div&gt;&lt;div&gt;THISFORM.Command1.VALUE = ""&lt;/div&gt;&lt;div&gt;THISFORM.Pageframe1.VALUE = ""&lt;/div&gt;&lt;div&gt;THISFORM.Grid1.VALUE = ""&lt;/div&gt;&lt;div&gt;THISFORM.Combo1.VALUE = ""&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7304889346954465667?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7304889346954465667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7304889346954465667'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/clearpage-code.html' title='Clearpage Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7158927229030415321</id><published>2010-04-01T21:00:00.001-07:00</published><updated>2010-05-23T01:49:02.441-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfpcode'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='printer'/><category scheme='http://www.blogger.com/atom/ns#' term='proramming language'/><category scheme='http://www.blogger.com/atom/ns#' term='alltrim'/><title type='text'>Report Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Calling a report from a form is very easy. You can even call a multiple reports that comes from your application. Microsoft Visual FoxPro is very flexible, you do not have to install other application in making print reports. VFP 's built in reports can call view from a table either local or through local area connection such as SQL from a server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;txtName = ALLTRIM(THISFORM.txtName.VALUE)&lt;/div&gt;&lt;div&gt;txtBirthDate = ALLTRIM(THISFORM.txtBirthDate.VALUE)&lt;/div&gt;&lt;div&gt;txtBirthPlace = ALLTRIM(THISFORM.txtBirthPlace.VALUE)&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;REPORT FORM "C:\ProjectName\Reports\Resume" TO PRINTER PROMPT NODIALOG PREVIEW&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7158927229030415321?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7158927229030415321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7158927229030415321'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/04/report-code.html' title='Report Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-1481315996044126262</id><published>2010-04-01T20:54:00.000-07:00</published><updated>2010-09-29T01:27:17.548-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='edit'/><category scheme='http://www.blogger.com/atom/ns#' term='found()'/><category scheme='http://www.blogger.com/atom/ns#' term='locate'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='alltrim'/><title type='text'>Edit Save Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Microsoft Visual FoxPro programming language has a lot of code to edit, insert, replace or save. Using select, append, insert or replace is some of the ways to save data. I always use the select and replace because it is easy to troubleshoot when your code has a problem. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;SELECT InfoNumber&lt;/div&gt;&lt;div&gt;LOCATE FOR IdNum = THISFORM.txtIdNum.VALUE&lt;/div&gt;&lt;div&gt;IF FOUND()&lt;/div&gt;&lt;div&gt;SELECT InfoNumber&lt;/div&gt;&lt;div&gt;REPLACE LastName WITH ALLTRIM(THISFORM.txtLastName.VALUE)&lt;/div&gt;&lt;div&gt;REPLACE FirstName WITH ALLTRIM(THISFORM.txtFirstName.VALUE)&lt;/div&gt;&lt;div&gt;REPLACE MiddleName WITH ALLTRIM(THISFORM.txtMiddleName.VALUE)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-1481315996044126262?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1481315996044126262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/1481315996044126262'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/04/edit-save-code.html' title='Edit Save Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-298279459955722699</id><published>2010-04-01T20:51:00.001-07:00</published><updated>2010-04-01T21:15:02.214-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='save vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='thisform'/><category scheme='http://www.blogger.com/atom/ns#' term='do case'/><category scheme='http://www.blogger.com/atom/ns#' term='message box'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><title type='text'>Do Case Code</title><content type='html'>&lt;div&gt;When you have a multiple case which you would want a different action, you can use the Do Case. Do case is very useful code when used wisely.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;DO CASE&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 1&lt;/div&gt;&lt;div&gt;                  MESSAGEBOX("Argentina", "Information")&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 2&lt;/div&gt;&lt;div&gt;                  MESSAGEBOX("Bangladesh", "Information")&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 3&lt;/div&gt;&lt;div&gt;                  MESSAGEBOX("Malaysia", "Information")&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 4&lt;/div&gt;&lt;div&gt;                  MESSAGEBOX("Philippines", "Information")&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 5&lt;/div&gt;&lt;div&gt;                  MESSAGEBOX("Taiwan", "Information")&lt;/div&gt;&lt;div&gt;            CASE THISFORM.txtSqlId.VALUE = 6&lt;/div&gt;&lt;div&gt;ENDCASE&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-298279459955722699?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/298279459955722699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/298279459955722699'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/04/do-case-code.html' title='Do Case Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7223396675007086015</id><published>2010-03-29T05:17:00.000-07:00</published><updated>2010-03-29T05:22:02.578-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xls'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='excel file'/><category scheme='http://www.blogger.com/atom/ns#' term='copy'/><category scheme='http://www.blogger.com/atom/ns#' term='export'/><category scheme='http://www.blogger.com/atom/ns#' term='message box'/><category scheme='http://www.blogger.com/atom/ns#' term='xl5'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='requery'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='table'/><title type='text'>Export Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Use this code when you want to export data from table to Excel File. Plus with a message box informing you if you want to do so. There is also a message box that telling you that you have successfully exported your table to an Excel File.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;lAnswer = MESSAGEBOX("Generate Report, do you wish to continue?", 4, "Generator")&lt;br /&gt;IF lAnswer = 6&lt;br /&gt;    SELECT SeafarerList&lt;br /&gt;    =REQUERY("SeafarerList")&lt;br /&gt;    COPY TO "C:\SEAFARER.XLS" XL5&lt;br /&gt;    =MESSAGEBOX("File successfully generated.", "Successful")&lt;br /&gt;ENDIF&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7223396675007086015?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7223396675007086015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7223396675007086015'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/03/export-code.html' title='Export Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-7454661988759566920</id><published>2010-03-26T20:44:00.000-07:00</published><updated>2010-09-29T01:27:29.581-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='edit'/><category scheme='http://www.blogger.com/atom/ns#' term='if found()'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='locate'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='message box'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='select'/><category scheme='http://www.blogger.com/atom/ns#' term='save'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Edit Save Code</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S61_LEX5l7I/AAAAAAAAAEA/LAp9zT979wI/s1600/edit+save+code.JPG" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5453154551944812466" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S61_LEX5l7I/AAAAAAAAAEA/LAp9zT979wI/s320/edit+save+code.JPG" style="cursor: hand; display: block; height: 211px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Most of the time neophyte VFP Programmers know how to add, edit and save data on the table. But how can we improve the form design? This is a sample I usually used, to ask or confirm if the User want to edit dat. A confirmation message box will appear with a 'Yes' or 'No'. From that the User can choose which will be the next function.&lt;/div&gt;&lt;vfp&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;lAnswer = MESSAGEBOX("Save and update Counter Dispatch?", 4, "Confirmation")&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF lAnswer = 6&lt;/div&gt;&lt;div style="text-align: justify;"&gt;SELECT sviewbranch&lt;/div&gt;&lt;div style="text-align: justify;"&gt;LOCATE FOR IdNum = THISFORM.Text12.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;IF FOUND()&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE beginbal WITH THISFORM.TEXT1.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE branchname WITH THISFORM.TEXT2.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE branchaddress WITH THISFORM.TEXT3.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE branchdesc WITH THISFORM.TEXT4.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE debit WITH THISFORM.TEXT5.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE credit WITH THISFORM.TEXT6.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE netchange WITH THISFORM.TEXT7.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE ending WITH THISFORM.TEXT8.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;REPLACE branchdescnum WITH THISFORM.TEXT9.Value&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.REFRESH&lt;/div&gt;&lt;div style="text-align: justify;"&gt;ENDIF&lt;/div&gt;&lt;/vfp&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-7454661988759566920?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7454661988759566920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/7454661988759566920'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/03/most-of-time-neophyte-vfp-programmers.html' title='Edit Save Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bPNYb1LeG6E/S61_LEX5l7I/AAAAAAAAAEA/LAp9zT979wI/s72-c/edit+save+code.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-854573595777602172</id><published>2010-03-22T06:18:00.000-07:00</published><updated>2010-04-01T20:53:19.180-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp code'/><category scheme='http://www.blogger.com/atom/ns#' term='text box'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Retrieve Code</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S6dvaBfvcUI/AAAAAAAAAD4/u-4BMSfbPnw/s1600-h/vfp+after.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S6dvaBfvcUI/AAAAAAAAAD4/u-4BMSfbPnw/s320/vfp+after.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5451448366824124738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S6du8TB62wI/AAAAAAAAADw/viPCvHybBWI/s1600-h/vfp+before.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S6du8TB62wI/AAAAAAAAADw/viPCvHybBWI/s320/vfp+before.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_5451447856134806274" /&gt;&lt;/a&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;If you want to have an easy way to retrieve data and have it appear in a text box or combo box just by clicking a single data from that row, there is a simple remedy for that. Just follow the following code  and paste it on click.&lt;/div&gt;&lt;vfp&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text1.VALUE = sviewbranch.beginbal&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text2.VALUE = sviewbranch.branchname&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text3.VALUE = sviewbranch.branchaddress&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text4.VALUE = sviewbranch.branchdesc&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text5.VALUE = sviewbranch.debit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text6.VALUE = sviewbranch.credit&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text7.VALUE = sviewbranch.netchange&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text8.VALUE = sviewbranch.ending&lt;/div&gt;&lt;div style="text-align: justify;"&gt;THISFORM.Text9.VALUE = sviewbranch.branchdescnum&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/vfp&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-854573595777602172?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/854573595777602172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/854573595777602172'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/03/retrieve-code.html' title='Retrieve Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bPNYb1LeG6E/S6dvaBfvcUI/AAAAAAAAAD4/u-4BMSfbPnw/s72-c/vfp+after.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4542096377178191188</id><published>2010-03-22T01:51:00.000-07:00</published><updated>2010-09-29T04:33:40.052-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='read only code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='read only'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Read Only Code</title><content type='html'>&lt;div&gt;Thisform.Text1.ReadOnly = .T.&lt;/div&gt;&lt;div&gt;Thisform.Command1.ReadOnly = .T.&lt;/div&gt;&lt;div&gt;Thisform.Grid1.ReadOnly = .T.&lt;/div&gt;&lt;div&gt;Thisform.Pageframe1.ReadOnly = .T.&lt;/div&gt;&lt;div&gt;Thisform.Combo1.ReadOnly = .T.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4542096377178191188?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4542096377178191188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4542096377178191188'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/read-only-code.html' title='Read Only Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2792539946412170491</id><published>2010-02-22T02:12:00.000-08:00</published><updated>2010-09-29T04:32:52.864-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='set focus code'/><category scheme='http://www.blogger.com/atom/ns#' term='focus'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Set Focus Code</title><content type='html'>You can use this code if you want to focus on a certain text. I usually use this after enabling the textboxes.&lt;br /&gt;&lt;br /&gt;Thisform.Text1.Setfocus()&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2792539946412170491?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2792539946412170491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2792539946412170491'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/set-focus-code.html' title='Set Focus Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-4031338437420068124</id><published>2010-02-22T02:06:00.000-08:00</published><updated>2010-09-29T04:32:57.971-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='endif'/><category scheme='http://www.blogger.com/atom/ns#' term='if else'/><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='If Else EndIf Code'/><title type='text'>If Else EndIf Code</title><content type='html'>&lt;div&gt;You can utilize this code if you want your Command box caption to be change.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;IF This.Caption = "Edit"&lt;/div&gt;&lt;div&gt;This.Caption = "Save"&lt;/div&gt;&lt;div&gt;Thisform.cmdClose.Caption= "Cancel"&lt;/div&gt;&lt;div&gt;ELSE&lt;/div&gt;&lt;div&gt;This.Caption = "Edit"&lt;/div&gt;&lt;div&gt;Thisform.cmdClose.Caption = "Close"&lt;/div&gt;&lt;div&gt;ENDIF&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-4031338437420068124?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4031338437420068124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/4031338437420068124'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/if-else-endif-code.html' title='If Else EndIf Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3998276534530514592</id><published>2010-02-06T00:16:00.000-08:00</published><updated>2010-03-22T06:30:36.885-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='data documents'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='class libraries'/><category scheme='http://www.blogger.com/atom/ns#' term='code'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='Window'/><category scheme='http://www.blogger.com/atom/ns#' term='other'/><title type='text'>FoxPro Window</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/S20lrRpnZpI/AAAAAAAAABk/g25IcrpU5QQ/s1600-h/foxpro+window.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435041750708610706" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 249px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/S20lrRpnZpI/AAAAAAAAABk/g25IcrpU5QQ/s320/foxpro+window.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://4.bp.blogspot.com/_bPNYb1LeG6E/S20lm4GpaQI/AAAAAAAAABc/0BBm9XcEW70/s1600-h/foxpro.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435041675131578626" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 233px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_bPNYb1LeG6E/S20lm4GpaQI/AAAAAAAAABc/0BBm9XcEW70/s320/foxpro.JPG" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;Above image shows the working interface window of Microsoft Visual FoxPro.&lt;br /&gt;&lt;p style="text-align: justify;"&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Data&lt;/li&gt;&lt;li&gt;Documents&lt;/li&gt;&lt;li&gt;Class Libraries&lt;/li&gt;&lt;li&gt;Code&lt;/li&gt;&lt;li&gt;Other&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3998276534530514592?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3998276534530514592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3998276534530514592'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/02/foxpro-window.html' title='FoxPro Window'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bPNYb1LeG6E/S20lrRpnZpI/AAAAAAAAABk/g25IcrpU5QQ/s72-c/foxpro+window.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-3957909307781125463</id><published>2010-02-05T23:55:00.000-08:00</published><updated>2010-03-22T06:38:47.018-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='voucher'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='form'/><category scheme='http://www.blogger.com/atom/ns#' term='page frame'/><category scheme='http://www.blogger.com/atom/ns#' term='text box'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='grid'/><category scheme='http://www.blogger.com/atom/ns#' term='combo box data'/><category scheme='http://www.blogger.com/atom/ns#' term='accounting'/><title type='text'>FoxPro Accounting Form</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S20jrIEJ5UI/AAAAAAAAABM/daBV7GE3Lak/s1600-h/accounting+sample+foxpro+form.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435039549112313154" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 222px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S20jrIEJ5UI/AAAAAAAAABM/daBV7GE3Lak/s320/accounting+sample+foxpro+form.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/S20iUYLFU4I/AAAAAAAAABE/FIpmZ8hpnqM/s1600-h/accounting+vfp+form.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435038058787722114" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 159px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/S20iUYLFU4I/AAAAAAAAABE/FIpmZ8hpnqM/s320/accounting+vfp+form.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://1.bp.blogspot.com/_bPNYb1LeG6E/S20gdSYYknI/AAAAAAAAAA8/o6hrE-hxr2U/s1600-h/foxpro+sample+form.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5435036012828463730" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 221px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_bPNYb1LeG6E/S20gdSYYknI/AAAAAAAAAA8/o6hrE-hxr2U/s320/foxpro+sample+form.JPG" border="0" /&gt;&lt;/a&gt;&lt;div style="text-align: justify;"&gt;Sample accounting form using text box, command button, grid and page frame. This is one of my interface I used in Accounting Units. It has complex functions.&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: justify;"&gt;Image one has motif of blue and consist of grid, page frame, several text box and several combo box. It has a function of add, edit, save, delete and other function that was require to make the User usage comfortability. It also allows you to search for a certain name and shows or retrieve the dat data on text and combo box.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Image two has more complex function than the first one. It is use for cash and check voucher. Aside from that the viewing of data being save are also incorporate. As you can see there is a five page frame available. These page is utilize to the step by step documentation of data.&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;While the third image for the purpose of viewing of queued data from the Operation Department thus using the Local Area Connection.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-3957909307781125463?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3957909307781125463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/3957909307781125463'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/02/foxpro-accounting-form.html' title='FoxPro Accounting Form'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_bPNYb1LeG6E/S20jrIEJ5UI/AAAAAAAAABM/daBV7GE3Lak/s72-c/accounting+sample+foxpro+form.JPG' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2557061278991464</id><published>2010-01-29T02:01:00.000-08:00</published><updated>2010-03-22T06:45:55.128-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='print code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='report code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Print Report Code</title><content type='html'>&lt;div&gt;This code will help you call a report. Report Form "&lt;the&gt;" Preview or To Printer Prompt Nodialog Preview&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Report Form "C:\Project\Reports\PrintReport" Preview&lt;/div&gt;&lt;div&gt;Report Form "C:\Project\Reports\PrintReport" To Printer Prompt Nodialog Preview&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2557061278991464?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2557061278991464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2557061278991464'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/print-report-code.html' title='Print Report Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-8125864204917056455</id><published>2010-01-29T01:56:00.000-08:00</published><updated>2010-03-29T05:34:32.575-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='delete code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='delete'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='erase'/><title type='text'>Delete Code</title><content type='html'>&lt;div style="text-align: justify;"&gt;Use this programming code if you want your table in Microsoft Visual FoxPro to be deleted. Just select the table, delete all finally pack.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Select PERSONALINFO&lt;/div&gt;&lt;div&gt;Delete All&lt;/div&gt;&lt;div&gt;Pack&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-8125864204917056455?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8125864204917056455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/8125864204917056455'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/delete-code.html' title='Delete Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-2347169803007102613</id><published>2010-01-29T01:37:00.000-08:00</published><updated>2010-10-20T02:10:18.411-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='foxpro code'/><category scheme='http://www.blogger.com/atom/ns#' term='replace'/><category scheme='http://www.blogger.com/atom/ns#' term='save'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><category scheme='http://www.blogger.com/atom/ns#' term='add'/><category scheme='http://www.blogger.com/atom/ns#' term='table'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='append'/><title type='text'>Add, Save , Replace Code</title><content type='html'>Sample of save, add, append and replace code:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Select PERSONALINFO&lt;br /&gt;Replace NAME With Thisform.Text1.Value&lt;br /&gt;Replace AGE With Thisform.Text2.Value&lt;br /&gt;Replace BIRTHDATE With Thisform.Text3.Value&lt;br /&gt;Replace BIRTHPLACE With Thisform.Text7.Value&lt;br /&gt;Replace ADDRESS With Thisform.Text8.Value&lt;br /&gt;Replace LANDLINE With Thisform.Text9.Value&lt;br /&gt;Replace CELLPHONE With Thisform.Text10.Value&lt;br /&gt;Replace EMAIL With Thisform.Text11.Value&lt;br /&gt;Replace WEBSITE With Thisform.Text12.Value&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;SELECT TableName&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;APPEND BLANK &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldOne WITH THISFORM.TEXT1.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldTwo WITH THISFORM.TEXT2.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldThree WITH THISFORM.COMBO1.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldFour WITH THISFORM.COMBO2.VALUE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;INSERT INTO TableName (FieldOne, FieldTwo, FieldThree,FieldFour); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;VALUES (THISFORM.TEXT1.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT2.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT3.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT4.VALUE)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Second saving a data by Edit:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;SELECT TableName &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldOne WITH THISFORM.TEXT1.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldTwo WITH THISFORM.TEXT2.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldThree WITH THISFORM.COMBO1.VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;REPLACE FieldFour WITH THISFORM.COMBO2.VALUE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;INSERT INTO TableName (FieldOne, FieldTwo, FieldThree,FieldFour); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;VALUES (THISFORM.TEXT1.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT2.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT3.VALUE, ; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;THISFORM.TEXT4.VALUE)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-2347169803007102613?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2347169803007102613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/2347169803007102613'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/add-save-replace-code.html' title='Add, Save , Replace Code'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-6572299773685832069.post-575514356238778819</id><published>2010-01-29T01:29:00.000-08:00</published><updated>2010-10-20T02:10:07.218-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='programming code'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft visual foxpro'/><category scheme='http://www.blogger.com/atom/ns#' term='vfp'/><category scheme='http://www.blogger.com/atom/ns#' term='programming language'/><title type='text'>Microsoft Visual FoxPro</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_bPNYb1LeG6E/S20kCqCA3BI/AAAAAAAAABU/T6QYZNNT-gk/s1600-h/foxprologo.JPG"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5435039953367129106" src="http://2.bp.blogspot.com/_bPNYb1LeG6E/S20kCqCA3BI/AAAAAAAAABU/T6QYZNNT-gk/s320/foxprologo.JPG" style="cursor: hand; display: block; height: 107px; margin: 0px auto 10px; text-align: center; width: 106px;" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div align="justify"&gt;Microsoft Visual FoxPro is a data-centric object-oriented and procedural programming language produced by Microsoft. It is derived from FoxPro originally known as FoxBASE which was developed by Fox Software beginning in 1984. Fox Technologies merged with Microsoft in 1992, after which the software acquired further features and the prefix "Visual". The last version of FoxPro 2.6 worked under Mac OS, DOS, Windows, and Unix: Visual FoxPro 3.0, the first "Visual" version, dropped the platform support to only Mac and Windows, and later versions were Windows-only. The current version of Visual FoxPro is COM-based and Microsoft has stated that they do not intend to create a Microsoft .NET version.&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;FoxPro originated as a member of the class of languages commonly referred to as "xBase" languages, which have syntax based on the dBase programming language. Other members of the xBase language family include Clipper and Recital. A history of the early years of xBase can be found in the dBase entry.&lt;/div&gt;&lt;div align="justify"&gt;Visual FoxPro, commonly abbreviated as VFP, is tightly integrated with its own relational database engine, which extends FoxPro's xBase capabilities to support SQL query and data manipulation. Unlike most database management systems, Visual FoxPro is a full-featured, dynamic programming language that does not require the use of an additional general-purpose programming environment. It can be used to write not just traditional "fat client" applications, but also middleware and web applications.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6572299773685832069-575514356238778819?l=microsoftvisualfoxpro.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/575514356238778819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6572299773685832069/posts/default/575514356238778819'/><link rel='alternate' type='text/html' href='http://microsoftvisualfoxpro.blogspot.com/2010/01/microsoft-visual-foxpro.html' title='Microsoft Visual FoxPro'/><author><name>Ware Brave</name><uri>http://www.blogger.com/profile/09615825719067989418</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_bPNYb1LeG6E/SmVPp9WRJ1I/AAAAAAAAAAM/6h_ME3O7RqM/S220/warebrave.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bPNYb1LeG6E/S20kCqCA3BI/AAAAAAAAABU/T6QYZNNT-gk/s72-c/foxprologo.JPG' height='72' width='72'/></entry></feed>
