BAH.Database bug

BlitzMax Forums/Brucey's Modules/BAH.Database bug

DavidDC(Posted 2008) [#1]
Brucey,

Whilst I remember, all the GetByName() methods need the "And f.value" safety check added. Either that or something is broken further up the chain.

Method getStringByName:String(name:String)
	Local f:TQueryField = getFieldByName(name)
	If f And f.value Then
		Return f.value.getString()
	End If
End Method