B
Bonzol
Hi there,
VB 2003 1.1 Access Database, oledb, Windows Application
I've been trying this for 3 days straight now and CANNOT get this to
work, im about to go insane because it is soo simple. All I want to do
is insert a new row !
I have 1 table 'People'
In that table I have "Name" and "LastName" Name as primary Key."
my adapter is called OleDbDataAdapter1
my connection is called OleDbConnection1
and I have a dataset called DataSet11
my connection is
"Me.OleDbConnection1.ConnectionString = "Jet OLEDB:Global Partial Bulk
Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB
atabase L" & _
"ocking Mode=1;Data Source=""C:\Documents and
Settings\Pig\Desktop\New Folder\TEST" & _
".mdb"";Jet OLEDB:Engine
Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:Syste" & _
"m database=;Jet OLEDB:SFP=False;persist security
info=False;Extended Properties=" & _
";Mode=Share Deny None;Jet OLEDB:Encrypt Database=False;Jet
OLEDB:Create System D" & _
"atabase=False;Jet OLEDB
on't Copy Locale on Compact=False;Jet
OLEDB:Compact Wit" & _
"hout Replica Repair=False;User ID=Admin;Jet OLEDB:Global Bulk
Transactions=1""
if anyone wants that.
On my form I have 2 text boxes
"txtname" and "txtlastname"
I also have a button "Button1"
All I want is for someone to put something in those two text boxes,,
press the button and for it to add a new Person with those 2 strings.
So they press the button and it adds a new row to the table, so like
adding a new person.
Can someone just tell me/show me how to do this, I'm having soo much
trouble, since I have asked about 50 people and tried about 50 differnt
ways and nothing works
PLEASE HELP ME.
thanx in advance
VB 2003 1.1 Access Database, oledb, Windows Application
I've been trying this for 3 days straight now and CANNOT get this to
work, im about to go insane because it is soo simple. All I want to do
is insert a new row !
I have 1 table 'People'
In that table I have "Name" and "LastName" Name as primary Key."
my adapter is called OleDbDataAdapter1
my connection is called OleDbConnection1
and I have a dataset called DataSet11
my connection is
"Me.OleDbConnection1.ConnectionString = "Jet OLEDB:Global Partial Bulk
Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB

"ocking Mode=1;Data Source=""C:\Documents and
Settings\Pig\Desktop\New Folder\TEST" & _
".mdb"";Jet OLEDB:Engine
Type=5;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:Syste" & _
"m database=;Jet OLEDB:SFP=False;persist security
info=False;Extended Properties=" & _
";Mode=Share Deny None;Jet OLEDB:Encrypt Database=False;Jet
OLEDB:Create System D" & _
"atabase=False;Jet OLEDB

OLEDB:Compact Wit" & _
"hout Replica Repair=False;User ID=Admin;Jet OLEDB:Global Bulk
Transactions=1""
if anyone wants that.
On my form I have 2 text boxes
"txtname" and "txtlastname"
I also have a button "Button1"
All I want is for someone to put something in those two text boxes,,
press the button and for it to add a new Person with those 2 strings.
So they press the button and it adds a new row to the table, so like
adding a new person.
Can someone just tell me/show me how to do this, I'm having soo much
trouble, since I have asked about 50 people and tried about 50 differnt
ways and nothing works
PLEASE HELP ME.
thanx in advance