Native AppleScript has very poor support for records. But with ASObjC you can work wonders. See if this topic can help you:
Making AppleScript Records Dynamic using ASObjc
For more information, see the wiki Searching the Forum for Answers section.