473,466 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

joining databases

229 New Member
Hi, I wonder if there is a solution to this. I have asked this before but still not sure of what to do.
I have two access databases, one old and one new. I need to transfer all the records from the old one to the new one. The trouble is the old one does not have a three field that the new one has. They are Password, PasswordEncrypted, PasswordKey. These are required fields and of course generated by some code in the admin section so i need to enter something in each.

Is there a way to move all the records and at the same time create entries for these three fields. I have over a thousand records and dont want to have to enter them one by one in the user admin section.
Thanks for any advice.
Richard
Jun 14 '09 #1
3 1604
NeoPa
32,556 Recognized Expert Moderator MVP
That really depends on what needs to be done in the Admin section to create the three extra values required.

It's hard to answer a question when half of it's missing.
Jun 15 '09 #2
fran7
229 New Member
Hi, Actually I worked it out by changing the database fields to Required = No, so I was able to populate users without all fields requiring data. It turns out that the PasswordEncrypted and PasswordKey fields we only used when members were not allowed to store cookies. If you allowed them its not used so I was able simply to repeat the same code for all users.
Thanks anyway for your help
Richard
Jun 18 '09 #3
NeoPa
32,556 Recognized Expert Moderator MVP
Thanks for the update Richard.

Ironically enough, that also provides the perspective missing from the original post. Sounds like you've got it all sorted though anyway.

There are two basic ways to get past this problem generally :
  1. The way you used (fundamentally). Change the design of the table such that the fields that are currently unavailable are not required. This can be changed back later if required, after the data is in place.
  2. Create the data in a separate table first, moving it across only when it is complete and complies with all stipulated rules.
Jun 19 '09 #4

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

Similar topics

1
by: ccote_msl | last post by:
HI, I have an XMLType column that has the following XML structure: <Client> <Report id = "01"> <Item id = "01" Description = ",a.mdfbnelt;yuk" </Item> <Item id = "02" Description =...
2
by: lesperancer | last post by:
qryA produces 93 A 1 93 B 3 93 C 9 qryB produced 94 A 6
10
by: Captain Nemo | last post by:
Hi I'm working on an ASP project where the clients want to be able to effectively perform SELECT queries joining tables from two different databases (located on the same SQL-Server). Does...
3
by: bbdobuddy | last post by:
Hi, I have two datatables that I want to left outer join and then do some queries on but I having a hard time figuring out how to join the datatables together. One of the datatables comes from...
1
by: nights | last post by:
hi! i'm just a newbie with php and mysql... and i'm having problems joining tables from different databases... can you please help me? here's my query: SELECT database1.table1.field1,...
2
by: Alec | last post by:
Newbie question. Its really an SQL question, but have had no reply from the SQL newsgroup. I want to search the same table for two different criteria, and then join the search results...
2
by: Supermansteel | last post by:
I am joining these 2 tables together in Access 2003 and can't figure out the exact way of writing this script......Can anyone help? I have the following SQL: SELECT...
4
by: rhino | last post by:
I'm very new to XML and maybe just a touch impatient because I'm going to ask a moderately advanced question even though I'm just learning the basics. I've spent many years working with...
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
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
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
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,...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.