SQL for Blitz Custom Types

Blitz3D Forums/Blitz3D Programming/SQL for Blitz Custom Types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If I may interject here, I think that Frank's method of managing keys and creating records can be simplified a little further:

Type Employee
	Field LastName$
	Field FirstName$
	Field Position$
End Type

Dim Employees.Employee(100)

Employees(20) = New Employee
Employees(20)\LastName$ = "Smith"
Employees(20)\FirstName$ = "Joe"
Employees(20)\Position$ = "Manager"

Print Employees(20)\Position$ + ": " + Employees(20)\FirstName$ + " " + Employees(20)\LastName$
; Prints "Manager: Joe Smith"