Hi
I want to use combo box from material type.
When I want to add it to inventory table. It error because this item not corresponding item. It seems to be miss "Material" field but I check it correctly.
Ex.
rs.field("MaterialID").value = GetMaterialID(cboMaterialID.text)
function GetMaterialID(arg) will return correctly result that is integer ID.
Besides, if i change "GetMaterialID(cboMaterialID.text)" to number (ex. 1 0r 2), it can add to database.
Can you suggest me?
Thanks...
I want to use combo box from material type.
When I want to add it to inventory table. It error because this item not corresponding item. It seems to be miss "Material" field but I check it correctly.
Ex.
rs.field("MaterialID").value = GetMaterialID(cboMaterialID.text)
function GetMaterialID(arg) will return correctly result that is integer ID.
Besides, if i change "GetMaterialID(cboMaterialID.text)" to number (ex. 1 0r 2), it can add to database.
Can you suggest me?
Thanks...