VB has made it easy to connect to databases, I would recommend you use an access db. I'm a student, and we have an assignment on exactly this! I'm finding it pretty easy to do. if you want, VB6 has a new control called ADO which makes it pretty easy.
I've never tried the writing to registry or...
okay, in the add new record button, I put this code:
CustAdo.recordset.AddNew
text1.setfocus
It's only two lines of code. Text1 is bound to a field in the database, through adodc on my form.
The funny thing is, that I can setfocus to the bound combobox, but not any of these textboxes.
The...
Thats my problem, it doesn't work!
Data member not found, it says. I tried. text1.setfocus
Any ideas as to what is wrong? I have made sure the textbox and frame is enabled and visible.
Nope
fname is the field. I try setting the focus to the fname field, by: fname.setfocus
and it comes up with an error... data member not found!
people say i'm crazy, but I know what it does, and some of my friends in my class have the same problem. the lecturer is stumped
Hello
Forgive me for being such a newbie and everything, but I have a slight problem.
I am using ado data control on my form and have some textboxes connected to the fields in my access db.
I wrote a bit of code for the add new button:
adocust.recordset.AddNew
Fname.SetFocus
(it stops me on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.