Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,405 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,477 people online right now. Registration is fast and FREE... Join Now!




diffilulty in project

 
Reply to this topicStart new topic

diffilulty in project

vibhu_28
1 Sep, 2008 - 06:48 AM
Post #1

New D.I.C Head
*

Joined: 1 Sep, 2008
Posts: 2

I m facin a problem in developing Student Database Management System which would keep record of students' all 8th semesters marks of B.Tech.
Here i dont know hw to link an array of 6 textboxes with 6 different fields of a table of database...Pls provide me wid the coding of this part. The code which i wrote ws.....

CODE

For i = 0 To 5
rs.Fields(j) = txts(i).Text
rs.Fields(j) = txtm(i).Text
rs.Fields(j) = txta(i).Text

crazy.gif

and pls also tell me wht code ar query is required to link two ar more tables of access wid themselves n wid the respective fields in a single form.
pls reply as soon as possible.

Thank u!!!!!
User is offlineProfile CardPM
+Quote Post

thava
RE: Diffilulty In Project
1 Sep, 2008 - 05:05 PM
Post #2

D.I.C Regular
Group Icon

Joined: 17 Apr, 2007
Posts: 442



Thanked: 18 times
Dream Kudos: 50
My Contributions
is it your only problem?
CODE

while Not rs.eof
   For i = 0 To 5
      rs.Fields(i) = txts(i).Text
   next
   rs.movenext
wend


This post has been edited by thava: 1 Sep, 2008 - 05:05 PM
User is offlineProfile CardPM
+Quote Post

vibhu_28
RE: Diffilulty In Project
5 Sep, 2008 - 08:31 AM
Post #3

New D.I.C Head
*

Joined: 1 Sep, 2008
Posts: 2

QUOTE(thava @ 1 Sep, 2008 - 06:05 PM) *

is it your only problem?
CODE

while Not rs.eof
   For i = 0 To 5
      rs.Fields(i) = txts(i).Text
   next
   rs.movenext
wend



User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:59AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month