473,396 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Microsoft Access

I am trying to "front-end" an access dbase that I created. I have gone through all kinds of articles and technet information regarding connecting to my database and that sort of thing. I have successfully connected to it (with an OLEDB Connection) but I do not know how to pull data from it. The database has a main Table (Servers) with various columns in it, specifically one named [Server Name]. I want to be able to have a form where I can enter a Server name and then it returns all the data from the other fields (Serial number, description, etc) into text boxes.

Could someone please help me with a real example as opposed to articles that I don't understand. I also tried to figure it out using the VB.NET Resource kit, but I don't understand their examples as everything is in SQL statements.

Please help!

Sarah
System Administrator
Nov 20 '05 #1
3 962
"Sarah" <an*******@discussions.microsoft.com> schrieb
I am trying to "front-end" an access dbase that I created. I have
gone through all kinds of articles and technet information regarding
connecting to my database and that sort of thing. I have successfully
connected to it (with an OLEDB Connection) but I do not know how to
pull data from it. The database has a main Table (Servers) with
various columns in it, specifically one named [Server Name]. I want
to be able to have a form where I can enter a Server name and then it
returns all the data from the other fields (Serial number,
description, etc) into text boxes.

Could someone please help me with a real example as opposed to
articles that I don't understand. I also tried to figure it out using
the VB.NET Resource kit, but I don't understand their examples as
everything is in SQL statements.


Have you already visited the ADO.NET group and asked there for VB.NET
examples? If not, here it is: microsoft.public.dotnet.framework.adonet
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
a faster and simpler way to do this is to use Access Forms Wizard. (or the Reporting wiz)
use a drop down to select the server name and populate other fields.
(unless ofcourse VB.NET is a requirement)
Nov 20 '05 #3
Cor
Hi Sarah,

Accoording to the resource kit.

If you change everywhere where is written SqlClient.SQL in Oledb.Oledb or
when there is not that SQLclient just SQL in Oledb you have almost every
sample for access.

The only thing that you have really to change are the connections strings in
the startsections.

This is for a access database.
\\\
Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\db1.mdb")
///

I hope this helps?

Cor
I am trying to "front-end" an access dbase that I created. I have gone through all kinds of articles and technet information regarding connecting
to my database and that sort of thing. I have successfully connected to it
(with an OLEDB Connection) but I do not know how to pull data from it. The
database has a main Table (Servers) with various columns in it, specifically
one named [Server Name]. I want to be able to have a form where I can enter
a Server name and then it returns all the data from the other fields (Serial
number, description, etc) into text boxes.
Could someone please help me with a real example as opposed to articles that I don't understand. I also tried to figure it out using the VB.NET
Resource kit, but I don't understand their examples as everything is in SQL
statements.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Novice | last post by:
Hi all, I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web services. I've just recently installed the...
27
by: Chuck Grimsby | last post by:
(Repost, due to lack of submissions...) The Microsoft Access Product Group (the people who build Microsoft Access) want your help! One of the main things we're working on for the near future...
71
by: Lauren Wilson | last post by:
Hello folks, Would love yo get all informed opinions and/or facts on the following: Over the last few weeks I have spent quite a bit of time reviewing all the Access and .NET stuff I could...
17
by: Pam Ammond | last post by:
I need to use Microsoft Access Automation within a Visual Studio 2003 program written in C# for Windows Forms. When a button is clicked in my VS.NET program, I want it to run a Microsoft Access...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
5
by: somersbar | last post by:
hello all, im trying to connect to a microsoft access database from an ASP.NET web form. i keep getting the following error though: ERROR Could not use '(unknown)'; file already in use....
0
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
7
by: clintonG | last post by:
To all Microsoft partners and customers who have been unable to download recently or access ASP.NET documentation from the msdn2 website and for all of those customers who have been lied to and...
0
by: .nLL | last post by:
Erorr is --------------------- Microsoft VBScript runtime error '800a0046' Permission denied /a.asp, line 3 -----------------------
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.