Solved

ADO/Access problems

Posted on 1999-01-25
9
143 Views
Last Modified: 2013-12-25
Here we go again. I am now about to add info from a form into a single table, but now I need to add info into multiple tables from a form into access. I have defined one-to-many relationship within access, but do not know how to define my sql statement and other variables.
Help, again..
0
Comment
Question by:vmorales
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1859176
Can you send the info to us?  We need the table "lay-out" and the form fields.  But, here are some ideas:  Usually the easiest way is to update the tables individually.  It takes more code, but to me is easier to follow.  you can also send the database and script files to me and I wil take a look.  masseym@mrqcorp.com
0
 

Author Comment

by:vmorales
ID: 1859177
MasseyM,

I have tried to update individually and I can do that, but because i have relationship setup in access to enforce referential integrity (did i spell that right?) it seems impossible to update individual tables. However, if I can do away with relationships and enforce integrity through scripting I suppose that would work. I am on a huge learning curve, trying to learn HTML/ASP/ADO/VBScript/JavaScript/etc., you get the point, so I am interested in doing it the right way, the efficient way. Thanks
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1859178
I know what you mean :)  As far as I have been able to tell, you cannot update the database and use the referential integrity.  I have also been unsuccessful when trying to update databases that use "lookup forms".  Why, I am not sure and am still looking in to this.  Now, I don;t update my database with a direct SQL statement, but rather through the record set object.  Maybe there is a way to directly post the info via the SQL and maintain the integrity... I will look into it.
0
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 

Author Comment

by:vmorales
ID: 1859179
MasseyM,
I will still send you the files, may take a day.

P.S.
Remember I am new to this stuff, so don't sent my version of scripting to america's funniest.

thanks
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1859180
No worries :) I will take a look and let you know...
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1859181
Files were sent to Derek Liddy.

Basically, the use of the proper Cursor Type was needed when opening the connection.
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1859182
Please disreagrd the previous answer... (Answer was for a different question).  I am still trying to find info about referential integrity via ASP.  Still no luck.
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 100 total points
ID: 1859183
I have still found no way to update multiple tables with one query.  It must be done table by table.
0
 

Author Comment

by:vmorales
ID: 1859184
Here is your points, I do wish there were better ways to insure the integrity of the data. I guess the Web is still a baby in these matters, although I am very suprised that with the information boom, no way exist to build tables "THE RIGHT WAY" and insure integrity.

Thanks,
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question