Well, if I actually had to know the logical number, I would probably store it in a column. But the purpose I needed it was to prevent duplicate data entry into a specific column. (Remember, this is not tied to a sql database - I know how to do that.) Anyway, rather than go into my whole issue, I provided myself a work around where I did not need the logical number anymore.