hey guys i need to know some of the techniques on how to shorten a very long query for example
Dim SqlStatement As String = "INSERT INTO tblcenterlane(DESCRIPTION,
UNIT,
BEG,
OT_KITCHEN,
OT_F&B,
OT_F.O.,
OT_S&M,
OT_H.K.,
ADMIN,
DEL,
PULLOUT,
SPOILAGE,
ENDING,
UNIT_COST,
AMOUNT,
VARIANCE,
REMARKS,
DEPARTMENT,
DATE,
DATE_DURATION_FROM,
DATE_DURATION_TO,
SUPPLIER_ID,
CATEGORY)
VALUES('" & txtItemDesc.Text & "',
'" & txtUnit.Text & "',
'" & txtBeg.Text & "',
'" & txtDel.Text & "',
'" & txtSpoilDmg.Text & "',
'" & txtPout.Text & "',
'" & txtEnding.Text & "',
'" & txtUnitCost.Text & "',
'" & txtAmount.Text & "',
'" & txtVariance.Text & "',
'" & txtDate.Text & "',
'" & txtDurationF.Text & "',
'" & txtDurationT.Text & "',
'" & txtSupplier.Text & "',
'" & txtCategory.Text & "',
'" & rtxtRemarks.Text & "')"
its so hard to manage please i need to learn some proper clean coding and im really ashamed of this