Hi,
I have a data base with two related tables:
Table A
GoupID
GroupName
GroupPath
Table B
PlayerID
PlayerName
GroupID
I also have a foreign key set by groupID so that all players are always created under a group.
Now,since the players are too many - over 300 - I need to make my application do a bulk upload for players using an external CSV files. The problem is that the user cannot know the FK so as to include it in the CSV file. So my intent is to intercept each row in the CSV and append the group ID after makeing sure that the user selects it in the GUI, in a combobox for example. Any ideas?
I have a data base with two related tables:
Table A
GoupID
GroupName
GroupPath
Table B
PlayerID
PlayerName
GroupID
I also have a foreign key set by groupID so that all players are always created under a group.
Now,since the players are too many - over 300 - I need to make my application do a bulk upload for players using an external CSV files. The problem is that the user cannot know the FK so as to include it in the CSV file. So my intent is to intercept each row in the CSV and append the group ID after makeing sure that the user selects it in the GUI, in a combobox for example. Any ideas?