Jump to content
Server Maintenance This Week. ×

Generating ID with calculation


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

Recommended Posts

Hi guys, i have a rather confusing problem which i would greatly appreciate to someone who can help me solve it.

I have a registration ID which must be in this format DPSmm/dd/yy__00001 and so far i have manage to make it work with this calculation method:

Prefix &DateToText(test)&" __ " & numberId

numberId is an auto enter serial number.

The date is retrieved from the date text field and then appended into the ID. This calculation worked perfectly fine if the date is manually entered, but if the date is imported the ID gets cranky, instead of appearing in the describe format the id only manage to show "DPSmm/dd/yyyy__" but the numberId is not displayed.

Please help me as i can't seem to find the problem.

Thank you very much!

cool.gif

Link to comment
Share on other sites

When importing into a datbase that has auto-entered fields, a po-up box is displayed just before the import which says "perform auto-enter options while importing" you need to check the box in order for you new serial numbers from the import to be generated.

HTH

Ed

Link to comment
Share on other sites

This topic is 7380 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.