Originally posted by mask
Oracle Error -either eof or bof is true-connecting with vb thru adoddb
Collapse
X
-
-
Originally posted by maski am using hierarchial flex grid control only
Ensure that you have used the SET keyword.Comment
-
flex grid problem solved , small mistake was there in name of control,
one cause of problem i found was name of table having underscore, but after correcting that , now my code is working for my table but only when i use primary key in where clause , when i try to use non pk column and make query ,for that again it is showing previous error.
my table is hrd1 having columns empno (pk) and exp1 (experience), , both number type,
when i give query
st= 'select * from hrd1 where empno=' & text1.text
it works fine ,but for query
st= 'select * from hrd1 where exp1=' & text1.text
it is not working
thx n regardsComment
-
Originally posted by maskflex grid problem solved , small mistake was there in name of control,
one cause of problem i found was name of table having underscore, but after correcting that , now my code is working for my table but only when i use primary key in where clause , when i try to use non pk column and make query ,for that again it is showing previous error.
my table is hrd1 having columns empno (pk) and exp1 (experience), , both number type,
when i give query
st= 'select * from hrd1 where empno=' & text1.text
it works fine ,but for query
st= 'select * from hrd1 where exp1=' & text1.text
it is not working
thx n regards
hi,
is the field u r verfying is of type number. why can't u try to use
e = val(text1.text)
also check whether u've used any keyword as the fieldname in the table. The fieldname : Name, date like this also will affect the execution of the query.
regards,
vijayComment
Comment