Oh, snap. I'm still too used to the old DOS Borland Pascal where integers were just integers. I completely forgot about smallint and longint. Thanks for the reply!