Tag Archives: Access Code

Building Data Aware Classes in Visual FoxPro Part 2: Using Data Transports and Temporary Storage

Abstract: In the last article (Part 1), we discussed how to encapsulate data access code and business rules in Visual FoxPro by using classes contained in Visual Class Libraries (.vcx) files. However, most Visual FoxPro programs, need to provide a means of data capture, retrieval and navigation, which is why a lot of programmers provide [...]

Read full storyComments { 0 }

Building and Using Data Aware Classes in Visual FoxPro Applications Part 1: Utilizing Visual Class Libraries for Data Access and Business Rules

Abstract: Visual Class Libraries allow you to build powerful Visual FoxPro applications and to implement powerful Object Oriented features. Because you can create your own class libraries, you will have an additional place to put code that accesses your application database by building data aware classes (classes that can ‘talk’ to your database and either [...]

Read full storyComments { 0 }

Understanding Variable Scope and Duration in Visual Basic 6

Variable Scope The scope of a variable determines where you can access that variable in your code. If a variable is in scope you can read or set it’s value. If it is out of scope you will not be able to access it. There are three types of scope for variables in Visual Basic: [...]

Read full storyComments { 0 }