Click here to Skip to main content
15,896,727 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiondirectx 9 SDK Pin
Pascale832-Apr-06 23:35
Pascale832-Apr-06 23:35 
AnswerRe: directx 9 SDK Pin
Danilo Castro de Souza18-May-11 5:58
Danilo Castro de Souza18-May-11 5:58 
Questionproject of software of an automobile dealer's shop or showroom Pin
SwatiPathania2-Apr-06 21:32
SwatiPathania2-Apr-06 21:32 
AnswerRe: project of software of an automobile dealer's shop or showroom Pin
darkelv3-Apr-06 1:53
darkelv3-Apr-06 1:53 
Questionsetting rs232 pin using vb 6.0 Pin
hackerz832-Apr-06 20:59
hackerz832-Apr-06 20:59 
QuestionDevelop Webcast Software in .NET Pin
DGtech2-Apr-06 20:06
DGtech2-Apr-06 20:06 
QuestionUnicode characters Pin
sp_ranjan2-Apr-06 19:31
sp_ranjan2-Apr-06 19:31 
QuestionRecordset Pin
Sweet Virgo2-Apr-06 18:31
Sweet Virgo2-Apr-06 18:31 
hi friends i am woking on MS Access forms with MS Access Database. i want to add text boxes' data into table on click event of a buton.
i am using buttons and want to use recordset object. i don't know how to open recordset and how to insert data in table from this button.
i am using this code it gives syntax error ont insert statement but i have checked my statement is correct.
___________________________________
Option Compare Database
Dim rst As ADODB.Recordset
===========================
Private Sub cmdAdd_Click()
Dim Did As Integer
'dim Dname as

'Set db = Humaintarian.mdb'
'Set rst = db.OpenRecordset("tbl_Dept") '.OpenRecordset("tbl_Dept") 'tbl_Dept is the table
'rst.AddNew
txtDeptId.SetFocus 'We have to set focus for each field
MsgBox ("txtDeptId=" & txtDeptId.Text) 'Just see what we got
'Did = txtDeptId.Text
'rst!Id = txtDeptId.Text
txtDeptName.SetFocus 'We have to set focus for each field
MsgBox ("txtDeptName=" & txtDeptName.Text) 'Just see what we got
'rst!Name = txtDeptId.Text
txtDeptDescr.SetFocus
MsgBox ("TxtDeptDescr=" & txtDeptDescr.Text)
'rst!Description = txtDeptDescr.Text
'rst.Update
'rst.Close
INSERT INTO tbl_Sectors(Id,Name,Description) VALUES(txtDeptId.Text,txtDeptName.Text,txtDeptDescr.Text)
End Sub
__________________________________
friends plz help me i am stucked
regards


Farooq Azam
Questionu?Open Recordset Pin
Sweet Virgo2-Apr-06 18:25
Sweet Virgo2-Apr-06 18:25 
QuestionUsing TreeView In VB.Net Pin
mayhem_rules2-Apr-06 18:09
mayhem_rules2-Apr-06 18:09 
Questionsystem.drawing Pin
Zealot3452-Apr-06 13:19
Zealot3452-Apr-06 13:19 
AnswerRe: system.drawing Pin
Christian Graus2-Apr-06 14:17
protectorChristian Graus2-Apr-06 14:17 
GeneralRe: system.drawing Pin
lupa-nikki2-Apr-06 14:45
lupa-nikki2-Apr-06 14:45 
GeneralRe: system.drawing Pin
Christian Graus2-Apr-06 14:54
protectorChristian Graus2-Apr-06 14:54 
GeneralRe: system.drawing Pin
lupa-nikki2-Apr-06 17:56
lupa-nikki2-Apr-06 17:56 
AnswerRe: system.drawing Pin
Guffa2-Apr-06 20:58
Guffa2-Apr-06 20:58 
GeneralRe: system.drawing Pin
FrankyT5-Apr-06 14:03
FrankyT5-Apr-06 14:03 
QuestionOleDbException:"no value given for one or more required parameters" Pin
MohammadAmiry2-Apr-06 10:04
MohammadAmiry2-Apr-06 10:04 
GeneralRe: OleDbException:"no value given for one or more required parameters" Pin
Guffa2-Apr-06 12:26
Guffa2-Apr-06 12:26 
QuestionHow can I use tapi to record conversation on the phone? Pin
JUNEYT2-Apr-06 9:40
JUNEYT2-Apr-06 9:40 
QuestionPort VB 6 example to VB .NET Pin
__Exception2-Apr-06 6:14
__Exception2-Apr-06 6:14 
QuestionHow can i Write in another application using .net Pin
Mr kilany2-Apr-06 5:31
Mr kilany2-Apr-06 5:31 
AnswerRe: How can i Write in another application using .net Pin
darkelv2-Apr-06 5:50
darkelv2-Apr-06 5:50 
Questionsending loaded file ti pic16f84 Pin
hackerz832-Apr-06 3:39
hackerz832-Apr-06 3:39 
AnswerRe: sending loaded file ti pic16f84 Pin
Steve Pullan2-Apr-06 13:17
Steve Pullan2-Apr-06 13:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.