General information
Category:
Coding, syntax & commands
Thanks for the response. I was just curious if there was any syntax that supported this that I didn't know about. I was in a stored procedure that will work on the current ALIAS() and had a comparison statement:
lcAlias = ALIAS()
IF lcMyVar = &lcAlias..'fcModBy'
.....
wondered if there was a simple way to reference the field 'fcmodby' in the current alias without the Alias in a way that distinguishes it from a variable name.
>>Is there a way to reference a field without specifiying the currently selected alias, something in the flavor of m.Fieldname? I think I've seen this in old Dbase code, just don't know if there is a way to do it in VFP.
>
>You don't need in alias referencing to current table.fields. Also, many commands support IN close to do it in different work areas. However, using alias is the way to make code more readable.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only