Hi everyone,
I am creating a page and I want the field No. to be generated by a series no.
I created a new series no. in the series no. page, I assigned it to my page in the setup page(I created it too) and I used the following code in the source table of my page:
OnInsert()
expMgtSetup.GET;
IF "No." = '' THEN BEGIN
expenseMgtSetup.TESTFIELD(Number);
NoSeriesMgt.InitSeries(expenseMgtSetup.Number,xRec."Series No.",0D,"No.","Series No.");
No. - OnValidate()
IF "No." <> xRec."No." THEN BEGIN
exMgtSetup.GET;
NoSeriesMgt.TestManual(expenseMgtSetup.Number);
"Series No." := '';
END;
END;
but I got nothing, when I try to make a new page, the field No. shows as a textbox with no button to select the series no.....
I wonder what shall I do to link this particular series no. to my page...
What am I missing?
Thanks in advance
Answers
check page 42 for example..
Did you try by pressing TAB/Enter...is it generating new number?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I tried the following code: and got the following error message:
If it is not generating any number after pressing TAB/Enter then check the created No. Series properly..
Debug the code..where you have missed the code/setup..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
BTW: have a look at this post Tip #21 - Implementing No. Series.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
I added the AssistEdit function in the source table of my page and it worked...
Thanks a lot
Thanks for the tip