473,399 Members | 2,858 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,399 software developers and data experts.

Retieving Data of MS Access by VB6?

I am creating a book store system with VB 6. I have four interfaces and in the database I save information about books and companies in 2 tables. In the book table my fields are - Book Name, Stocks, ISBN & in the other my fields are -Company Name , Address. But I cannot create a primary key. Help me there plase!
And also i want to know the codings to retrieve the saved data of the tables. Anyone of you know? Please reply!
Apr 29 '07 #1
3 1317
cuteanu
14
Ms Access provides the facility to form the primary key, there is a key icon in the tool box, and then in the relationships menu, relation between both the tables can be formed.
To retrive data into VB, VB should be connected to Ms access, you can do it by many ways.
Apr 29 '07 #2
Dököll
2,364 Expert 2GB
I am creating a book store system with VB 6. I have four interfaces and in the database I save information about books and companies in 2 tables. In the book table my fields are - Book Name, Stocks, ISBN & in the other my fields are -Company Name , Address. But I cannot create a primary key. Help me there plase!
And also i want to know the codings to retrieve the saved data of the tables. Anyone of you know? Please reply!
Hey there vbuser333

I got just the thing, but if this is a school project I need to know where you are, any coding measures already taken in order to attempt coaching.

You can also fetch this forum a bit deeper, a number of tips should and will pop up. I find this to be helpful...

Good luck with the project!

Oh, I would also suggest starting with one table, make it work with VB then move on to the next (cut an paste existing code for other tables)...

Dököll
Apr 29 '07 #3
Well, hi. yeah mine is a school project. I need a tutor to teach me how finish this coding. I already did designed all the interfaces. I know how to code exit,clear, save and linking other forms but retrieving data from a MS Access is difficult. Will youhelp me? please.

Hey there vbuser333

I got just the thing, but if this is a school project I need to know where you are, any coding measures already taken in order to attempt coaching.

You can also fetch this forum a bit deeper, a number of tips should and will pop up. I find this to be helpful...

Good luck with the project!

Oh, I would also suggest starting with one table, make it work with VB then move on to the next (cut an paste existing code for other tables)...

Dököll
Apr 29 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ced | last post by:
Hi, how can I insert data coming from a multiple select box knowing that I need to insert other form fields at the same time. <select name="auswahl" size="5" multiple> <option...
0
by: iffy agbim | last post by:
I have a form that displays information selected from an Access Data base. A select statement is used to do this on my asp page SQLQuery = "SELECT * FROM tblopgaCOm2 WHERE billNo = '" &...
6
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
32
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
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,...
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
jinu1996
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...
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
isladogs
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...

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.