i am getting an error while creating database project in VB.6 n oracal combine and the error is column not allowed here and code is
rs1.Open "insert into pta (name,fname,phoneno,sex) values(" & Text1.Text & "," & Text2.Text & "," & combo2.text & "," & Text6.Text & ") ", con, adOpenDynamic, adLockOptimistic
name n phoneno are composite primary key and phoneno is also foriegn key also and datatype of phone no is number(11) , combo2.text is the value of phone no . so anyone please help me
rs1.Open "insert into pta (name,fname,phoneno,sex) values(" & Text1.Text & "," & Text2.Text & "," & combo2.text & "," & Text6.Text & ") ", con, adOpenDynamic, adLockOptimistic
name n phoneno are composite primary key and phoneno is also foriegn key also and datatype of phone no is number(11) , combo2.text is the value of phone no . so anyone please help me