Using Struct

You haven't declared a variable of type "record", you've declared a datatype called "record".