Article View: comp.sys.mac.databases
Article #3754D: Assigning Unique Integers
From: William Matthew Beaver
Date: Thu, 05 Nov 1992 21:45
Date: Thu, 05 Nov 1992 21:45
15 lines
1201 bytes
1201 bytes
Is there a way to assign a unique integer to a field outside of the #N comand in the layout editor? I have no problem creating the Unique number with #N in the default value box for the field in the layout. The problem occurs when I create a record in a script, assign different values, save the record, and then display it with Display record. The value doesn't get asigned in default if I save the record beore I display it. I cannot do the assignment in the script either. I get an error when I say [Project]Project_Num:=(#N). Is there another comand for this? Any ideas are very welcome. Thanks in advance, William Beaver Carnegie Mellon University
Technical Details
Message-ID:
<IeyNLli00UhW05rJoR@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!cert!netnews.upenn.edu!dsinc!cs.widener.edu!hela.iti.org!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!wb1o+Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!portal!lll-winken!cert!netnews.upenn.edu!dsinc!cs.widener.edu!hela.iti.org!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!wb1o+ From: wb1o+@andrew.cmu.edu (William Matthew Beaver) Newsgroups: comp.sys.mac.databases Subject: 4D: Assigning Unique Integers Message-ID: <IeyNLli00UhW05rJoR@andrew.cmu.edu> Date: 5 Nov 92 21:45:21 GMT Organization: Senior, Social & Decision Sciences, Carnegie Mellon, Pittsburgh, PA Lines: 15