Added a check for a NULL reference when building the enhanced step tab.
This commit is contained in:
		@@ -3463,7 +3463,8 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
				{
 | 
			
		||||
					string tb = (LinkedOrdinal==null)? "NA" : LinkedOrdinal.ToString();
 | 
			
		||||
					tbformat = tbformat.Replace("{LNK C/N Num}", tb);
 | 
			
		||||
					tbformat = tbformat.Replace("{LNK Step Num}", (ActiveParent as ItemInfo).LinkedTab.Trim(" .".ToCharArray())); //(ActiveParent as ItemInfo).Ordinal.ToString());
 | 
			
		||||
					if ((ActiveParent as ItemInfo).LinkedTab != null)
 | 
			
		||||
						tbformat = tbformat.Replace("{LNK Step Num}", (ActiveParent as ItemInfo).LinkedTab.Trim(" .".ToCharArray())); //(ActiveParent as ItemInfo).Ordinal.ToString());
 | 
			
		||||
					tbformat = tbformat.TrimStart(" ".ToCharArray());
 | 
			
		||||
				}
 | 
			
		||||
				if (tbformat.Contains("{LNK Step Num}"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user