Click here to Skip to main content
15,919,479 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralGathering Data between 2 dates Pin
Anonymous8-Jan-03 19:03
Anonymous8-Jan-03 19:03 
GeneralRe: Gathering Data between 2 dates Pin
drmzunlimited9-Jan-03 5:34
drmzunlimited9-Jan-03 5:34 
GeneralRe: Gathering Data between 2 dates Pin
Hesham Amin9-Jan-03 9:12
Hesham Amin9-Jan-03 9:12 
GeneralRe: Gathering Data between 2 dates Pin
pchari11-Jan-03 14:55
pchari11-Jan-03 14:55 
GeneralRe: Gathering Data between 2 dates Pin
Hesham Amin11-Jan-03 20:20
Hesham Amin11-Jan-03 20:20 
Generalweb browser control Pin
Hesham Amin8-Jan-03 11:06
Hesham Amin8-Jan-03 11:06 
GeneralRe: web browser control Pin
FruitBatInShades9-Jan-03 7:01
FruitBatInShades9-Jan-03 7:01 
Generalproblem updating from a datagrid Pin
mcm8-Jan-03 8:05
mcm8-Jan-03 8:05 
Dim RS As AdodB.Recordset
Set RS = New AdodB.Recordset

Dim intCurrentRecord As Integer

Dim iOrderNo As String
Dim strProductCode As String
Dim strDesc As String
Dim iQuantity As Integer
Dim iPrice As Integer

iOrderNo = txtOrderNo.Text
strProductCode = Adodc3.RS("ProductCode")
strDesc = Adodc3.RS("ProductDesc")
iQuantity = Adodc3.RS("Quantity")
iPrice = Adodc3.RS("Price")

With intCurrentRecord
Dim editSQL As String
editSQL = "update OrderDetail set ProductCode = '" & strProductCode & "', ProductDesc = '" & strDesc & "', Quantity = " & iQuantity & ", Price = " & iPrice & ""
Set RS = Conn.Execute(editSQL)
End With

the (intended) purpose of the above code is that when the user pressed the edit button, having changed the details of the current record in the datagrid, that the SQL statement would execute the update. however, i am not referring to this current record properly, it is not recognising it, throwing an error of "method or data member not found", what can i do to fix this? thank you!
GeneralTiff to PDF conversion Pin
Zulfikar Ali8-Jan-03 6:26
Zulfikar Ali8-Jan-03 6:26 
Generalcopying files using shell Pin
iluha8-Jan-03 6:00
iluha8-Jan-03 6:00 
GeneralRe: copying files using shell Pin
Hesham Amin8-Jan-03 11:21
Hesham Amin8-Jan-03 11:21 
GeneralRe: copying files using shell Pin
iluha8-Jan-03 13:17
iluha8-Jan-03 13:17 
GeneralPrinting in VB.NET Pin
rradhay8-Jan-03 4:19
rradhay8-Jan-03 4:19 
Generaldot syntax and concatenated names Pin
brnwdrng8-Jan-03 3:44
brnwdrng8-Jan-03 3:44 
GeneralRe: dot syntax and concatenated names Pin
FruitBatInShades9-Jan-03 7:13
FruitBatInShades9-Jan-03 7:13 
GeneralRe: dot syntax and concatenated names Pin
brnwdrng9-Jan-03 8:54
brnwdrng9-Jan-03 8:54 
GeneralRe: dot syntax and concatenated names Pin
FruitBatInShades9-Jan-03 10:24
FruitBatInShades9-Jan-03 10:24 
Generalbad dll calling convrention Pin
ns8-Jan-03 2:12
ns8-Jan-03 2:12 
GeneralRe: bad dll calling convrention Pin
geo_m9-Jan-03 8:59
geo_m9-Jan-03 8:59 
GeneralRe: bad dll calling convrention Pin
RichardGrimmer23-Jan-03 4:28
RichardGrimmer23-Jan-03 4:28 
Generalaccessing ini files Pin
r i s h a b h s7-Jan-03 18:28
r i s h a b h s7-Jan-03 18:28 
GeneralRe: accessing ini files Pin
Nick Seng7-Jan-03 20:07
Nick Seng7-Jan-03 20:07 
GeneralRe: accessing ini files Pin
r i s h a b h s7-Jan-03 23:23
r i s h a b h s7-Jan-03 23:23 
GeneralRe: accessing ini files Pin
Jerome Conus7-Jan-03 20:44
Jerome Conus7-Jan-03 20:44 
Generalpadding a string Pin
ns7-Jan-03 8:48
ns7-Jan-03 8:48 

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.