NauticalGent
Ignore List Poster Boy
- Local time
- Today, 05:07
- Joined
- Apr 27, 2015
- Messages
- 6,719
Disclaimer, I had to use AI to generate the code I got work. But I thought it would make a good thread anyway.
I have a 5 digit code that I use a lot in my line of work. It's called a Commercial And Government Entity (CAGE) code and the Master file on the DoD website holds over 3 million records. The CAGE code is alpha-numeric and I wondered how close 3 mil was to maxing it out. Not being a mathematician I asked ChatGPT what the total number of possible code were and the answer was 36^5, or 60,466,176 records.
Obviously the US Gov was safe from having to revamp the process.
For fun I tried to figure out a way to generate a table with VBA that would hold all the possible CAGE codes...again, I am NO computer scientist so I quickly gave up and asked Chatty to generate the code, Although the code worked, there were other issues - 60m records is a MASSIVE table so a lot of tweaking was needed to get this to work.
Before I show "my" work, I thought it might be interesting to see if anyone here would be able and willing to take on the challenge without cheating like I did.
Anyone?
I have a 5 digit code that I use a lot in my line of work. It's called a Commercial And Government Entity (CAGE) code and the Master file on the DoD website holds over 3 million records. The CAGE code is alpha-numeric and I wondered how close 3 mil was to maxing it out. Not being a mathematician I asked ChatGPT what the total number of possible code were and the answer was 36^5, or 60,466,176 records.
Obviously the US Gov was safe from having to revamp the process.
For fun I tried to figure out a way to generate a table with VBA that would hold all the possible CAGE codes...again, I am NO computer scientist so I quickly gave up and asked Chatty to generate the code, Although the code worked, there were other issues - 60m records is a MASSIVE table so a lot of tweaking was needed to get this to work.
Before I show "my" work, I thought it might be interesting to see if anyone here would be able and willing to take on the challenge without cheating like I did.
Anyone?