i have two forms and on each form one text box having access database behind and is connected to forms by using data bound controls. My problm is that what ever value i enter form1.text1 , it should come in form2.text1. iam using code like this
in form1 lost focus event text1.text= form2.text1.text . it is ok . but how to update database simultaneously form1 and form2 sa time. please any body give answer in detail
regalla 0 Newbie Poster
Recommended Answers
Jump to Postjust clear this out first.
will the values from both textboxes update the same field or u need to update two separate fields with these two values simultaneously?
if i wrong judged this then plz make me correct
Jump to PostDim gcn As New ADODB.Connection gcn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=<your access database path>;Persist Security Info=False" gcn.Open gcn.Execute "update <your table name> set <field name> = <value> where <criteria expression>"
is this enough?
All 8 Replies
choudhuryshouvi 33 Posting Pro
regalla 0 Newbie Poster
jireh 3 Posting Whiz
regalla 0 Newbie Poster
Sroxx 0 Newbie Poster
regalla 0 Newbie Poster
regalla 0 Newbie Poster
choudhuryshouvi 33 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.