In reference to the below image ,please suggest a code which when incorporated, the voucher entry will only be completed if all the brokername,loadman name,transport name field are filled otherwise it will show error and user has to fill and then proceed for next voucher entry.
Use Validate and Control in the respective fields, where you want user to input data and not leave it blank.