BAH.Database bug

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

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

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