dont allow thw values

hi all…

Write necessary code which will not allow inserting item until “Inventory posting group” and “gen. prod Posting group” is not entered?

i wrote the code in oninsert() of no field.

no := no.;

and in onvalidate()

testfields(“inventory posting group”);

testfields(“gen.prod posting group”);

while trying this its throwing an error

i . e cursor postion is not changing form the current field( field no.)

why did you write code in OnInsert trigger?

Did you try these suggestions…

http://dynamicsuser.net/forums/t/58380.aspx

ya mohana i tried that… thanks alot