PUBLIC oMyRecord && I've often wondered if object orientation wasn't created by the Irish? SELECT myTable SCATTER NAME oMyRecord && Public scope -- visible throughout the application
LOCAL oMyRecord SELECT myTable SCATTER NAME oMyRecord && Local scope -- visible only in this procedure
SELECT myTable SCATTER NAME oMyRecord && Private scope -- also can be declared private. && Visible in this procedure and any called by it. && But not aboveIn the latter case, sometimes you can declare a variable PRIVATE, such as before calling a form -- so that it is visible throughout the form, but doesn't have the application-wide impact of a public.