" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Concatenating Strings in VFP

Posted on November 23rd, 2015 by Avinash Acharya

Suppose a table has firstname and lastname as its fields and we want to show full name on the screen or in a report. The first expression that comes to mind is like : SELECT TRIM(lastname)+’ , ‘ + firstname from table ……. Or SELECT ALLTR(lastname)+’ , ‘ + firstname from table ……. However a […]

Copy the content of one tree view to another Programatically in VFP

Posted on November 23rd, 2015 by K.Hari Prasad

During run-time we may be required to copy the content of a treeview into another treeview programmatically Let us suppose there are two treeviews (treeview1 and treeview2)  and a button (button1)  in a form. In the button-click event one program file will be called which copies the content of treeview1 to treeview2. Button-Click event: DO […]