Does VB2005 have a wizard for creating a form based on an Access db? I know
that VB6 had this, but I can't seem to find anything similar in VB2005.
Thanks!
Darhl 7 1342
Dahrl,
It has it much nicer not only based on Access db. http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
Does VB2005 have a wizard for creating a form based on an Access db? I
know that VB6 had this, but I can't seem to find anything similar in
VB2005.
Thanks!
Darhl
Hi Cor,
Thanks for the suggestion! This is a great start for me. Now my next
problem is figuring out how to make some of the controls be drop down combo
boxes that are populated by another table in the db.
But that'll be another post when I get there :-)
Thanks again!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:Oe******** ******@TK2MSFTN GP04.phx.gbl...
Dahrl,
It has it much nicer not only based on Access db.
http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005.
Thanks!
Darhl
Dahrl,
It is very to add that combobox using the designer but keep in mind that you
first add the related table in top of the datasource box. Probably you do it
the first time wrong because you forget to select the dataset first.
:-)
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
Hi Cor,
Thanks for the suggestion! This is a great start for me. Now my next
problem is figuring out how to make some of the controls be drop down
combo boxes that are populated by another table in the db.
But that'll be another post when I get there :-)
Thanks again!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:Oe******** ******@TK2MSFTN GP04.phx.gbl...
>Dahrl,
It has it much nicer not only based on Access db.
http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2******* *********@TK2MS FTNGP03.phx.gbl ...
>>Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005.
Thanks!
Darhl
OK, I can see how to change the field to a combo box, then I can bring it to
my form, but it's not working how I am expecting. It is only displaying one
piece of the data in the table, and I want to be able choose from a list of
data. Maybe I'm doing something wrong...
My database has a number of "ID" fields that correlate to other tables.
Example, tblStoreData has OwnerID, StatusID, DMAID, RegionID, etc. I then
have tables for tblOwners, tblStatus, tblDMA, tblRegion, etc.
tblOwners has:
OwnerID
OwnerName
OwnerEmail
OwnerPhone
tblStatus has:
StatusID
StatusName
tblDMA has:
DMAID
DMAName
tblRegion has:
RegionID
RegionName
Hopefully you understand how I have my database laid out. My goal is to be
able to update the status of a store by choosing the value in a combo box.
The combo box gets its list from tblStatus.Statu sName. When I choose a
different StatusName from the combo, I want it to update the StatusID field
in tblStoreData. I want to be able to do the same for all of the ID fields
in tblStoreData (there are 8 fields as described above). I believe I have
all of my table relationships set correctly. I have this done using Access
2003, but I am updating my form to VB05 so I can deploy it to people who do
not have Access.
Thanks again for your help Cor, it's invaluable!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** **********@TK2M SFTNGP03.phx.gb l...
Dahrl,
It is very to add that combobox using the designer but keep in mind that
you first add the related table in top of the datasource box. Probably you
do it the first time wrong because you forget to select the dataset first.
:-)
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
>Hi Cor,
Thanks for the suggestion! This is a great start for me. Now my next problem is figuring out how to make some of the controls be drop down combo boxes that are populated by another table in the db.
But that'll be another post when I get there :-)
Thanks again!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:Oe******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Dahrl,
It has it much nicer not only based on Access db.
http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2******** ********@TK2MSF TNGP03.phx.gbl. .. Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005.
Thanks!
Darhl
Darhl,
It is hard to show that in a sample with the wizard, in the next article of
the Dutch Net magazine I have done an article about that. But it is a lot of
text and I assume that you are not from Holland.
Bassicly it is adding your tables using the wizard in top of the DataSource
pane to your dataset/dataadapter.
Than you open everytime a column and change that to a combobox. In that you
set the datasource (and than you will see that it will automaticly be
created). The problem is, that it is hard to tell, because you have to take
the datasource in one of the rows preceded with a cross.
Without the wizard it is like this. http://www.vb-tips.com/dbpages.aspx?...5-29ce9ff01d75
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:eZ******** ******@TK2MSFTN GP03.phx.gbl...
OK, I can see how to change the field to a combo box, then I can bring it
to my form, but it's not working how I am expecting. It is only
displaying one piece of the data in the table, and I want to be able
choose from a list of data. Maybe I'm doing something wrong...
My database has a number of "ID" fields that correlate to other tables.
Example, tblStoreData has OwnerID, StatusID, DMAID, RegionID, etc. I then
have tables for tblOwners, tblStatus, tblDMA, tblRegion, etc.
tblOwners has:
OwnerID
OwnerName
OwnerEmail
OwnerPhone
tblStatus has:
StatusID
StatusName
tblDMA has:
DMAID
DMAName
tblRegion has:
RegionID
RegionName
Hopefully you understand how I have my database laid out. My goal is to
be able to update the status of a store by choosing the value in a combo
box. The combo box gets its list from tblStatus.Statu sName. When I choose
a different StatusName from the combo, I want it to update the StatusID
field in tblStoreData. I want to be able to do the same for all of the ID
fields in tblStoreData (there are 8 fields as described above). I believe
I have all of my table relationships set correctly. I have this done
using Access 2003, but I am updating my form to VB05 so I can deploy it to
people who do not have Access.
Thanks again for your help Cor, it's invaluable!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:%2******** **********@TK2M SFTNGP03.phx.gb l...
>Dahrl,
It is very to add that combobox using the designer but keep in mind that you first add the related table in top of the datasource box. Probably you do it the first time wrong because you forget to select the dataset first.
:-)
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2******* *********@TK2MS FTNGP06.phx.gbl ...
>>Hi Cor,
Thanks for the suggestion! This is a great start for me. Now my next problem is figuring out how to make some of the controls be drop down combo boxes that are populated by another table in the db.
But that'll be another post when I get there :-)
Thanks again!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:Oe****** ********@TK2MSF TNGP04.phx.gbl. .. Dahrl,
It has it much nicer not only based on Access db.
http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2******** ********@TK2MSF TNGP03.phx.gbl. .. Does VB2005 have a wizard for creating a form based on an Access db? I know that VB6 had this, but I can't seem to find anything similar in VB2005. > Thanks! > Darhl >
I think I have all of my tables set up right in the DataSource pane. I have
a screenshot showing my dsPane as well as the relationships on my website at http://www.dnjhome.com/pos/dsPOSData.png. I'm still missing something, the
combo boxes aren't working how I'm expecting them to. Maybe my
relationships are backwards?
d
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:Oz******** ********@TK2MSF TNGP05.phx.gbl. ..
Darhl,
It is hard to show that in a sample with the wizard, in the next article
of
the Dutch Net magazine I have done an article about that. But it is a lot
of
text and I assume that you are not from Holland.
Bassicly it is adding your tables using the wizard in top of the
DataSource
pane to your dataset/dataadapter.
Than you open everytime a column and change that to a combobox. In that
you
set the datasource (and than you will see that it will automaticly be
created). The problem is, that it is hard to tell, because you have to
take
the datasource in one of the rows preceded with a cross.
Without the wizard it is like this. http://www.vb-tips.com/dbpages.aspx?...5-29ce9ff01d75
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht
news:eZ******** ******@TK2MSFTN GP03.phx.gbl...
>OK, I can see how to change the field to a combo box, then I can bring it to my form, but it's not working how I am expecting. It is only displaying one piece of the data in the table, and I want to be able choose from a list of data. Maybe I'm doing something wrong...
My database has a number of "ID" fields that correlate to other tables. Example, tblStoreData has OwnerID, StatusID, DMAID, RegionID, etc. I then have tables for tblOwners, tblStatus, tblDMA, tblRegion, etc.
tblOwners has: OwnerID OwnerName OwnerEmail OwnerPhone
tblStatus has: StatusID StatusName
tblDMA has: DMAID DMAName
tblRegion has: RegionID RegionName
Hopefully you understand how I have my database laid out. My goal is to be able to update the status of a store by choosing the value in a combo box. The combo box gets its list from tblStatus.Statu sName. When I choose a different StatusName from the combo, I want it to update the StatusID field in tblStoreData. I want to be able to do the same for all of the ID fields in tblStoreData (there are 8 fields as described above). I believe I have all of my table relationships set correctly. I have this done using Access 2003, but I am updating my form to VB05 so I can deploy it to people who do not have Access.
Thanks again for your help Cor, it's invaluable!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:%2******* ***********@TK2 MSFTNGP03.phx.g bl...
>>Dahrl,
It is very to add that combobox using the designer but keep in mind that you first add the related table in top of the datasource box. Probably you do it the first time wrong because you forget to select the dataset first.
:-)
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2****** **********@TK2M SFTNGP06.phx.gb l... Hi Cor,
Thanks for the suggestion! This is a great start for me. Now my next problem is figuring out how to make some of the controls be drop down combo boxes that are populated by another table in the db.
But that'll be another post when I get there :-)
Thanks again!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:Oe***** *********@TK2MS FTNGP04.phx.gbl ... Dahrl, > It has it much nicer not only based on Access db. > http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252 > I hope this helps, > Cor > "Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2******** ********@TK2MSF TNGP03.phx.gbl. .. >Does VB2005 have a wizard for creating a form based on an Access db? >I know that VB6 had this, but I can't seem to find anything similar >in >VB2005. >> >Thanks! >> >Darhl >> > >
OK, I reversed the direction of my relationships and its working better. At
least I can see the value I want to see. Now I need to be able to get the
combo boxes to list all of the items in the related table so I can use the
combo to change them.
Thanks,
d
"Darhl Thomason" <da****@papamur phys.nospamplea se.comwrote in message
news:ep******** ******@TK2MSFTN GP03.phx.gbl...
>I think I have all of my tables set up right in the DataSource pane. I have a screenshot showing my dsPane as well as the relationships on my website at http://www.dnjhome.com/pos/dsPOSData.png. I'm still missing something, the combo boxes aren't working how I'm expecting them to. Maybe my relationships are backwards?
d
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message
news:Oz******** ********@TK2MSF TNGP05.phx.gbl. ..
>Darhl,
It is hard to show that in a sample with the wizard, in the next article of the Dutch Net magazine I have done an article about that. But it is a lot of text and I assume that you are not from Holland.
Bassicly it is adding your tables using the wizard in top of the DataSource pane to your dataset/dataadapter.
Than you open everytime a column and change that to a combobox. In that you set the datasource (and than you will see that it will automaticly be created). The problem is, that it is hard to tell, because you have to take the datasource in one of the rows preceded with a cross.
Without the wizard it is like this. http://www.vb-tips.com/dbpages.aspx?...5-29ce9ff01d75
I hope this helps,
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:eZ******* *******@TK2MSFT NGP03.phx.gbl.. .
>>OK, I can see how to change the field to a combo box, then I can bring it to my form, but it's not working how I am expecting. It is only displaying one piece of the data in the table, and I want to be able choose from a list of data. Maybe I'm doing something wrong...
My database has a number of "ID" fields that correlate to other tables. Example, tblStoreData has OwnerID, StatusID, DMAID, RegionID, etc. I then have tables for tblOwners, tblStatus, tblDMA, tblRegion, etc.
tblOwners has: OwnerID OwnerName OwnerEmail OwnerPhone
tblStatus has: StatusID StatusName
tblDMA has: DMAID DMAName
tblRegion has: RegionID RegionName
Hopefully you understand how I have my database laid out. My goal is to be able to update the status of a store by choosing the value in a combo box. The combo box gets its list from tblStatus.Statu sName. When I choose a different StatusName from the combo, I want it to update the StatusID field in tblStoreData. I want to be able to do the same for all of the ID fields in tblStoreData (there are 8 fields as described above). I believe I have all of my table relationships set correctly. I have this done using Access 2003, but I am updating my form to VB05 so I can deploy it to people who do not have Access.
Thanks again for your help Cor, it's invaluable!
Darhl
"Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:%2****** ************@TK 2MSFTNGP03.phx. gbl... Dahrl,
It is very to add that combobox using the designer but keep in mind that you first add the related table in top of the datasource box. Probably you do it the first time wrong because you forget to select the dataset first.
:-)
Cor
"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in bericht news:%2***** ***********@TK2 MSFTNGP06.phx.g bl... Hi Cor, > Thanks for the suggestion! This is a great start for me. Now my next problem is figuring out how to make some of the controls be drop down combo boxes that are populated by another table in the db. > But that'll be another post when I get there :-) > Thanks again! > Darhl > > "Cor Ligthert [MVP]" <no************ @planet.nlwrote in message news:Oe**** **********@TK2M SFTNGP04.phx.gb l... >Dahrl, >> >It has it much nicer not only based on Access db. >> >http://www.vb-tips.com/dbpages.aspx?...2-b1ed16424252 >> >I hope this helps, >> >Cor >> >"Darhl Thomason" <da****@papamur phys.nospamplea se.comschreef in >bericht news:%2******** ********@TK2MSF TNGP03.phx.gbl. .. >>Does VB2005 have a wizard for creating a form based on an Access db? >>I know that VB6 had this, but I can't seem to find anything similar >>in >>VB2005. >>> >>Thanks! >>> >>Darhl >>> >> >> > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David C. Allen |
last post by:
I am following thru the examples in the book I am studying for my MCSD. This
is the web applications book.
One example is to use the data form wizard to create a simple data form on
the northwind customers table.When I try to run the code after the wizard
has generated the form I get several compile errors like this:
D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference
required to assembly 'System.Xml' containing the...
|
by: Rick |
last post by:
The data adapter wizard allows you to add more than one
table, but that doesn't seem to work right when setting up
a dataset. Some of the documentation I have read states
that only one table should be selected per data adapter,
and then you use a DataRelation object to pull join them
together. Okay, if that's the case then fine, but why
would the data adapter allow you to add more than one
table if this is not how it is supposed to work....
|
by: Steven Blair |
last post by:
Hi,
A bit long winded this one, but would be grateful for some help.
I have a problem using the Wizard component and can think of only two
ways of completing the task.
Can anyone with some Wizard experience have a read of my two methods and
let me know if there are alternatives?
1. Each step of the wizard has each component (Textboxes etc) dropped
|
by: Bob |
last post by:
I've located instruction as to how to add the Data Form Wizard into a VB.NET
2005 project at this location.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vburfdataformwizard.asp
However no matter how hard I look I can't locate it.
Any ideas what is wrong or is the documentation in error and this feature
has been removed from VS.NET 2005
|
by: Demetri |
last post by:
I have a question / concern regarding the new suggested way of creating a
data access layer in an n-tier application. Typically, a web application
specifically, using the SOA (Service Oriented Architecture) approach.
At various sites such as 15 Seconds
(http://www.15seconds.com/issue/050721.htm) they advocate using the
TableAdapter wizard to generate the data access layer.
Describing the TableAdapter wizard, here is a quote from the...
| |
by: ebrastow |
last post by:
Hi folks,
I'm a VB newbie - been using PowerBuilder for 12 years and thought I'd
see how Visual Basic has come along these days.
I'm using MS Visual Studio 2005 Professional, trying to connect to a
SQL Server 2000 Standard (SP4) database on another machine.
For weeks, whenever I've had time to try this, I have gone through the
"Add New Data Source..." wizard, filled in all of the information
|
by: cypher_key |
last post by:
I want to write a simple application for my own use. I've already have
the data populated in a database and I have a data source setup.
I can use the wizards to generate a master detail data form (I believe
that's what it's called) and I get a form with input controls for each
field in the table. My question is that 2 of the fields in the table
are numeric IDs which are foreign keys to other tables. For example, I
have a customerID and...
|
by: rejoyce |
last post by:
Hi Everyone,
I just started to create new windows application in Visual Basic 2005, so i use the Data Source Configuration Wizard to add new data source connection. I choose the Microsoft Access Database file using .NET Framework Data Provider for OLE DB. As I follow the Connection wizard says "Test connection succeeded" but when i press the OK button to finish the connection wizard it gave me an error prompt that says "The system cannot...
|
by: geolemon |
last post by:
Import text wizard says:
I'm banging my head on this one, here's why:
I've been importing files using this process and data format, with success!
I created a temporary table in Access to facilitate my import process (It's all text columns, I perform transformations later).
And I created a template in Excel to correspond to the table - essentially it's just column headers:
In Excel, I've been opening files of work that we've done...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |