Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Serial numbering of subcategories within each category


This topic is 5566 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a table Categories, containing fields

  • CategoryName
  • CategorySerial#
  • CategoryDescription

. There is a second table Subcategories, containing fields

  • SubcatName
  • SubcatSerial#
  • CatSerial#
  • Data

The tables are linked by way of the fields CategorySerial# and the key field CatSerial#.

Problem;) I would like the serial numbers in SubcatSerial# to "restart" from 1 within each Category, rather than simply having a unique SubcatSerial# for each record in Subcategories.

Using automatic serial numbers in SubcatSerial# is clearly not the way to do this, but am not sure what will work. Thanks for your suggestions.

This topic is 5566 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.