Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
3/24/2014 9:09:26 AM EDT
I have a database with several tables. The data will be added by importing an XML file.

In the main table, I have a primary key. It is an "auto number"...

What I need is for this primary key number to populate out to the other tables as a foreign key.

I created the cascading update and cascading delete with data integrity relationship for all of this...

Except the actual number does not show up in the foreign key boxes automatically. The values are there as options on the foreign key combo box, but not automatically pushed.

Is there a way I can force this value to automatically show, without having to go back and select it from the combo box??
3/24/2014 10:31:54 AM EDT
[#1]
Bump for the afternoon crew...
3/24/2014 10:35:01 AM EDT
[#2]
Quote History
Quoted:
Bump for the afternoon crew...
View Quote

Hmmmm.
3/24/2014 10:44:34 AM EDT
[#3]
Nooooooooo idea.


3/24/2014 10:48:42 AM EDT
[#4]
Quote History
Quoted:
Nooooooooo idea.

View Quote


Thanks anyway :)

Been beating my head about this for a while...

Basically, we have thousands of documents that are going to get imported via XML, and I am trying to save the admins from having to go and select from the combo box for each row.

If I figure it out I shall report back!
3/24/2014 10:51:27 AM EDT
[#5]

Quote History
Quoted:
Thanks anyway :)



Been beating my head about this for a while...



Basically, we have thousands of documents that are going to get imported via XML, and I am trying to save the admins from having to go and select from the combo box for each row.



If I figure it out I shall report back!
View Quote View All Quotes
View All Quotes
Quote History
Quoted:



Quoted:

Nooooooooo idea.







Thanks anyway :)



Been beating my head about this for a while...



Basically, we have thousands of documents that are going to get imported via XML, and I am trying to save the admins from having to go and select from the combo box for each row.



If I figure it out I shall report back!
It seems to me like this sort of thing would be better handled by SQL Server.

 
3/24/2014 10:52:36 AM EDT
[#6]
Quote History
Quoted:
It seems to me like this sort of thing would be better handled by SQL Server.  
View Quote View All Quotes
View All Quotes
Quote History
Quoted:
Quoted:
Quoted:
Nooooooooo idea.



Thanks anyway :)

Been beating my head about this for a while...

Basically, we have thousands of documents that are going to get imported via XML, and I am trying to save the admins from having to go and select from the combo box for each row.

If I figure it out I shall report back!
It seems to me like this sort of thing would be better handled by SQL Server.  



True story. I could do it on there. But, I have my instructions, and such as  they are I shall try to fulfill them.
3/24/2014 11:23:40 AM EDT
[#7]
I figured it out.

I had to add a new column in each of the sub tables with an auto number as the primary key (hidden) and then use a lookup in the column I wanted to send data to.

Success!

(don't ask me why, i just messed with it til it worked)