Click here to Skip to main content
15,884,012 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWhere is the problem Pin
Amer Rehman24-May-09 20:26
Amer Rehman24-May-09 20:26 
AnswerRe: Where is the problem Pin
DidiKunz24-May-09 20:34
DidiKunz24-May-09 20:34 
GeneralRe: Where is the problem Pin
Mohammed.Al-Qaisi25-May-09 6:17
Mohammed.Al-Qaisi25-May-09 6:17 
GeneralRe: Where is the problem Pin
Dave Kreskowiak25-May-09 6:43
mveDave Kreskowiak25-May-09 6:43 
QuestionCaonnot Update Database Access withh visualBasics6 Pin
labq58124-May-09 17:32
labq58124-May-09 17:32 
AnswerRe: Caonnot Update Database Access withh visualBasics6 Pin
DidiKunz24-May-09 20:28
DidiKunz24-May-09 20:28 
GeneralRe: Caonnot Update Database Access withh visualBasics6 Pin
Tiyani Miyambo25-May-09 2:57
Tiyani Miyambo25-May-09 2:57 
AnswerRe: Caonnot Update Database Access withh visualBasics6 Pin
riced25-May-09 6:22
riced25-May-09 6:22 
Something like this might work.
SqL = "select * from report_tab where idd='" & T1.Text & "'"
Set rs = dB.OpenRecordset(SqL)
With rs
   .MoveFirst
   .Edit
   !no = T2.Text
   !ext = T3.Text
   .Update
   MsgBox "Updated", vbOKOnly
End With

My Access is a bit rusty but IIRC, dbOpeSnapShot gives a read only recordset.
You also need to make a record current by doing a .MoveFirst/.MoveNext and you need to call .Edit.
As I said, I'm a bit rusty but think this is what you need. Smile | :)
If something like this does not work, maybe it's file/folder permissions?

Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis

Questioncreate combo box in datagrid Pin
labq58124-May-09 16:55
labq58124-May-09 16:55 
AnswerRe: create combo box in datagrid Pin
DidiKunz24-May-09 20:30
DidiKunz24-May-09 20:30 
AnswerRe: create combo box in datagrid Pin
Baran M25-May-09 1:09
Baran M25-May-09 1:09 
QuestionCheck whether medium is a DVD or CD Pin
Zaegra24-May-09 4:21
Zaegra24-May-09 4:21 
AnswerRe: Check whether medium is a DVD or CD Pin
dan!sh 24-May-09 8:19
professional dan!sh 24-May-09 8:19 
GeneralRe: Check whether medium is a DVD or CD Pin
Zaegra24-May-09 10:44
Zaegra24-May-09 10:44 
GeneralRe: Check whether medium is a DVD or CD Pin
dan!sh 24-May-09 18:39
professional dan!sh 24-May-09 18:39 
GeneralRe: Check whether medium is a DVD or CD Pin
Zaegra24-May-09 22:05
Zaegra24-May-09 22:05 
GeneralRe: Check whether medium is a DVD or CD Pin
dan!sh 24-May-09 22:23
professional dan!sh 24-May-09 22:23 
GeneralRe: Check whether medium is a DVD or CD Pin
Zaegra24-May-09 23:00
Zaegra24-May-09 23:00 
GeneralRe: Check whether medium is a DVD or CD Pin
dan!sh 25-May-09 7:09
professional dan!sh 25-May-09 7:09 
AnswerRe: Check whether medium is a DVD or CD Pin
Samir Ibrahim25-May-09 1:40
Samir Ibrahim25-May-09 1:40 
GeneralRe: Check whether medium is a DVD or CD Pin
Zaegra25-May-09 5:13
Zaegra25-May-09 5:13 
GeneralRe: Check whether medium is a DVD or CD Pin
Samir Ibrahim25-May-09 6:48
Samir Ibrahim25-May-09 6:48 
GeneralRe: Check whether medium is a DVD or CD Pin
Zaegra25-May-09 7:13
Zaegra25-May-09 7:13 
QuestionWhy MainMenu goes missing when i opened a crystal report form in vb.net 2008? Pin
r_mohd23-May-09 18:41
r_mohd23-May-09 18:41 
QuestionView Uninstalled Font Pin
SSDiver211223-May-09 17:55
SSDiver211223-May-09 17:55 

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.