Futhermore, instead of selecting No. Series automatically, is it possible to prompt AssistEdit for user to select which No. Series they want to use? i.e: Local Sales, Overseas Sales
Can this be achieved outside the card form?
With a button as trigger, to open card form and simultaneously open AssistEdit for user to select.
While in card form, pushing F3 will prompt out No. Series for user to choose from.
I figure by putting AssistEdit inside OnNewRecord would work. but encountered the error
"you cannot make changes to database before a transaction been made" something like that
CASE STRMENU('NoSeries1, NoSeries2, NoSeries3',3) OF
1 : No := Getnextno('NoSeries1').....;
2 : No := Getnextno('NoSeries2').....;
3 : No := Getnextno('NoSeries3').....;
END;
CASE STRMENU('NoSeries1, NoSeries2, NoSeries3',3) OF
1 : No := Getnextno('NoSeries1').....;
2 : No := Getnextno('NoSeries2').....;
3 : No := Getnextno('NoSeries3').....;
END;
Answers
you have to use no.series relationship in sales header no.series.
it's gives u choice of multipal no. series.
Can this be achieved outside the card form?
With a button as trigger, to open card form and simultaneously open AssistEdit for user to select.
While in card form, pushing F3 will prompt out No. Series for user to choose from.
I figure by putting AssistEdit inside OnNewRecord would work. but encountered the error
"you cannot make changes to database before a transaction been made" something like that
Is this what you mean ?
THANKS!
this helps.
=D>
http://www.BiloBeauty.com
http://www.autismspeaks.org