Jump to content

Auto-entered Unique PrimaryIDs


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

Recommended Posts

Follow up...

I tried the following and it appears to be working. I thought I should report it. I used the global as a related value from a constant relationship.

It works.

Am I the only one to feel that this is odd ?

So

Right( "0000" & Status(CurrentRecordID); 4) & ::Constant:global &

Middle("0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"; Round(Random*35;1); 1) &

Right( "00000" & Status(CurrentTime); 5) &

Middle( "0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"; Round(Random*35;1); 1) &

Right( "000000" & Status(CurrentDate); 6) &

Middle( "0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"; Round(Random*35;1); 1)

gives me correct result for an UniqueUserFriendlyRandom ID.

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...

Important Information

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