Hi,

I am not purposely trying to break things but this weird situation came up just because of an external database design . Here is a simplified version of the code that reproduces the problem:

Code:
proc page1_section2_field2_click()	

	local a = "TableName"
	AddColumn(a)	

endproc


proc AddColumn(tableName)
	
	s = "alter table ipranges add column &tableName char(30)"
	&s
	
	//At this point tableName has been overwritten, I'm not sure with what but I suspect it
        //may be an empty string of 30 chrs	
endproc
I have tried with other combinations & it happens every time, the issue seems to be passing in the string value "TableName" to a variable with the name 'tableName'. If the value and variable name are different then all is ok.