Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: Robert Walker
Forum: VB.NET Oct 4th, 2005
Replies: 0
Views: 3,095
Posted By Robert Walker
The following code is me loading a listbox with a table. I have no problem with the retrieving data if data has information, but if the field is empty I get a error. how can I check the field in a...
Forum: VB.NET Sep 22nd, 2005
Replies: 1
Views: 2,287
Posted By Robert Walker
I did get it to work with

For x = 0 To Me.tabPAGE1.Controls.Count - 1
sStmt = " document = '" + Me.tabPAGE1.Controls(x).Text + "'"
Next

but I'm looking for a way to identify a textbox...
Forum: VB.NET Sep 20th, 2005
Replies: 1
Views: 2,287
Posted By Robert Walker
I have a list of 20 textboxes on a form. each textbox is a record in a table. I want to loop through the textboxes if posible:

for x = 1 to 20
sStmt = "update list_table set"
sStmt += "...
Forum: VB.NET Jun 29th, 2005
Replies: 1
Views: 22,622
Posted By Robert Walker
Dim OraStr As String = "Data Source=Oracle8i;Integrated Security=yes"

OR

dim OraStr As String = "Provider=""MSDAORA.1"";User ID=dev;Data Source=testdb;Password=dev"

I am using oracle8i but...
Forum: VB.NET Jun 9th, 2005
Replies: 0
Views: 4,532
Posted By Robert Walker
when running program I can see all 9 items of data are loaded into myComboBox, but when it displays on the screen all I get is 9 instances of "Test1.Global+ListCodes". What do I need to use in the...
Forum: VB.NET May 19th, 2005
Replies: 1
Views: 4,271
Posted By Robert Walker
Found it, just made form2 a dialogbox
Forum: VB.NET May 19th, 2005
Replies: 1
Views: 4,271
Posted By Robert Walker
I have set up a form that I can load a Datatable in, but how do I return the index number so I know what the user selected. If possible I would rather not use a global variable.
Forum: VB.NET May 18th, 2005
Replies: 8
Views: 22,268
Posted By Robert Walker
Dim myConnStr As String = "Provider=Microsoft.jet.OLEDB.4.0;Data Source=" + myPath
Dim myConn As New OleDb.OleDbConnection(myConnStr)
Dim myAdapt As New OleDb.OleDbDataAdapter(myQuery, myConn)
...
Forum: VB.NET May 17th, 2005
Replies: 8
Views: 22,268
Posted By Robert Walker
I can loop while the datatable is full, but get an error when it is empty. How do I know it's empty.
Forum: VB.NET May 17th, 2005
Replies: 6
Views: 29,042
Posted By Robert Walker
Here's what I did

myPath = "c:\Table.mdb"
myQuery = "select * from table"

Public Function Return_Access(ByVal myQuery As String, ByVal myPath As String) As DataSet
Dim myConnStr As String...
Forum: VB.NET May 13th, 2005
Replies: 2
Views: 4,682
Posted By Robert Walker
I answered myself, if anyone needs

Dim myReader As New DataSet
myAdapt.Fill(myReader)
Return myReader
Forum: VB.NET May 12th, 2005
Replies: 2
Views: 4,682
Posted By Robert Walker
I am trying to pass the OleDbDataReader to table that I can pass out of a function.
Showing results 1 to 12 of 12

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC