Database access
Database access
Database access
Database access
Database access
Database access Database access Database access Database access Database access Database access Database access Database access
Database access Database access
Database access
Go Back  Xtreme Visual Basic Talk > > > Database access


Reply
 
Thread Tools Display Modes
  #21  
Old 10-06-2004, 08:39 AM
MKoslof's Avatar
MKoslofDatabase access MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default


I'm still not clear, what is your error? If this is your exact code piece:

Code:
For Each Dt In ds.Tables(0).rows MsgBox(Dt(0)) MsgBox(Dt(1)) Next

What is not working?
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
  #22  
Old 10-06-2004, 08:56 AM
wowzers wowzers is offline
Newcomer
 
Join Date: Oct 2004
Location: Hobart
Posts: 11
Default

It highlights ds and says it doesn't recognise or it's not defined. The Module works when I call that subroutine because as you see in the second attachment the DataGrid is populated. Now I try to use the above code you just pasted in the Form to extract the data. I get the ds not defined error at this stage..

Regards.
Reply With Quote
  #23  
Old 10-06-2004, 06:19 PM
wowzers wowzers is offline
Newcomer
 
Join Date: Oct 2004
Location: Hobart
Posts: 11
Default

Hello,

I moved the code all into the form and it works, thanks very much for your assistance.

Regards.
Reply With Quote
  #24  
Old 10-10-2004, 11:06 AM
MKoslof's Avatar
MKoslofDatabase access MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

That's good news . Let us know if you have more questions. Good luck.
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
User Accounts with an Access Database Sazlo Database and Reporting 1 11-13-2003 06:31 PM
Creating a database application with VB v. Doing it all in Access Dwayne 76 Database and Reporting 1 11-13-2003 10:50 AM
Populate ComboBox from Access Database PianoMan Database and Reporting 3 11-06-2003 08:13 AM
HELP WITH ACCESS & VB 5 XVB Database and Reporting 2 10-27-2003 10:28 PM
Database Help! dimples Database and Reporting 8 06-25-2001 01:18 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Database access
Database access
Database access Database access
Database access
Database access
Database access Database access Database access Database access Database access Database access Database access
Database access
Database access
 
Database access
Database access
 
-->