Click here to Skip to main content
15,925,868 members
Home / Discussions / Database
   

Database

 
GeneralRe: Insert problem Pin
Blue_Skye26-Jun-05 20:13
Blue_Skye26-Jun-05 20:13 
GeneralRe: Insert problem Pin
Luis Alonso Ramos27-Jun-05 5:15
Luis Alonso Ramos27-Jun-05 5:15 
GeneralRe: Insert problem Pin
Blue_Skye26-Jun-05 7:40
Blue_Skye26-Jun-05 7:40 
GeneralRe: Insert problem Pin
Luis Alonso Ramos26-Jun-05 9:13
Luis Alonso Ramos26-Jun-05 9:13 
Generalupdating a database Pin
steve_rm25-Jun-05 2:01
steve_rm25-Jun-05 2:01 
Generalvariable queries for vb.net Pin
WetRivrRat24-Jun-05 22:37
WetRivrRat24-Jun-05 22:37 
GeneralRe: variable queries for vb.net Pin
Colin Angus Mackay25-Jun-05 2:38
Colin Angus Mackay25-Jun-05 2:38 
GeneralRe: variable queries for vb.net Pin
WetRivrRat27-Jun-05 2:40
WetRivrRat27-Jun-05 2:40 
in your code i'm assuming you're writing it in a command function? right, if
so then i'm only limited to 'GetType' unless i add the 'as string' or
someother class. so I guess my first Q would be, what class are you
expecting this to go under? if it helps any I was just using a
OleDbDataAdapter and DataSet to connect to sql(so if i had to use access later its already ready for it!).
Second Q was, is my interpretation of your code correct?


Function LoadLastInvoice() 
 
 Dim VAMachineName As String 
 
 VAMachineName = TextBox3.Text
 
 LoadLastInvoice.CommandText = "SELECT last_invoice From Location_table WHERE
 Location_ID = @machineName"
 
 LoadLastInvoice.Parameters.Add("@machineName", VAMachineName)
 
 End Function


Because I'm getting the following crash-related error...
'Object variable or With block variable not set'
and I'm not sure how to set the @machineName variable as I tried several ways and nothing seemed to work...Confused | :confused:
Thanks


Dim Beautiful As String
Beautiful = "ignorant"
Label1.Text = "The world is full of " & Beautiful & " people."


Why is common sense such an un-common comodity?
Generalhello,sqldatabase registering error Pin
Anonymous24-Jun-05 10:53
Anonymous24-Jun-05 10:53 
GeneralRe: hello,sqldatabase registering error Pin
NeverHeardOfMe24-Jun-05 12:25
NeverHeardOfMe24-Jun-05 12:25 
GeneralRe: hello,sqldatabase registering error Pin
Anonymous24-Jun-05 21:33
Anonymous24-Jun-05 21:33 
Questionbind parameter in a datagrid's column ? Pin
newprog24-Jun-05 2:30
newprog24-Jun-05 2:30 
GeneralSQL Datetime - Independent Format Pin
Seraphin24-Jun-05 0:38
Seraphin24-Jun-05 0:38 
GeneralRe: SQL Datetime - Independent Format Pin
Colin Angus Mackay24-Jun-05 3:42
Colin Angus Mackay24-Jun-05 3:42 
GeneralRe: SQL Datetime - Independent Format Pin
Seraphin25-Jun-05 3:44
Seraphin25-Jun-05 3:44 
GeneralDateTime datatype Pin
Blue_Skye23-Jun-05 18:09
Blue_Skye23-Jun-05 18:09 
GeneralRe: DateTime datatype Pin
Colin Angus Mackay23-Jun-05 21:06
Colin Angus Mackay23-Jun-05 21:06 
GeneralRe: DateTime datatype Pin
Yulianto.23-Jun-05 21:29
Yulianto.23-Jun-05 21:29 
GeneralRe: DateTime datatype Pin
Colin Angus Mackay23-Jun-05 23:07
Colin Angus Mackay23-Jun-05 23:07 
GeneralRe: DateTime datatype Pin
Yulianto.24-Jun-05 16:18
Yulianto.24-Jun-05 16:18 
GeneralRe: DateTime datatype Pin
Blue_Skye24-Jun-05 18:59
Blue_Skye24-Jun-05 18:59 
GeneralRe: DateTime datatype Pin
Colin Angus Mackay24-Jun-05 21:31
Colin Angus Mackay24-Jun-05 21:31 
GeneralRe: DateTime datatype Pin
Colin Angus Mackay24-Jun-05 21:28
Colin Angus Mackay24-Jun-05 21:28 
GeneralParameterized query Pin
csylesh23-Jun-05 6:43
csylesh23-Jun-05 6:43 
GeneralRe: Parameterized query Pin
Javier Lozano23-Jun-05 16:59
Javier Lozano23-Jun-05 16:59 

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.