AutoSplitKey Property

Hi all,

I created a sub form which contains only 2 field of which the 2 are keys. I’m unable to set the AutoSplitKey property since its not available! Checking on C/SIDE help, I get the following message:

{ There are two prerequisites for turning this property on:

The current key must be the primary key.

The last field in the primary field must be an integer BigInteger, GUID or decimal field. If these conditions are met, you can set this property to Yes.}

should I add another unnecessary field to meet the above??

Thanks in advance.

My guess is that you probably shouldn’t. In the oninsert trigger you should make a call to the NoSeries managment codeunit to assign another number to your line.

How would you expect the AutoSplitKey functionality to work in your case? It doesn’t seem to make much sense here.