Z
Zoltan Hubai
Hi
Is there a way to create lookup columns in tables in the typed datasets?
Like
CityTable
----------
CityID
CityName
Employee
--------
EmployeeID
EmployeeName
City -> foreign key to CityTable.CityID
CityName -> lookup column, will get the value from CityTable according
the City value
First the CityTable records are loaded and then the Employee. I could do
this with SQL but that means I would load the same data 2 times and I'm
trying to lower the network usage as the lines that we are using are slow.
In expression column I was trying to use the Parent keyword but with no
luck. So is there a way to do this?
Also is there a way to create more of these lookup columns when a table
is related to more tables with foreign keys?
Thx
Is there a way to create lookup columns in tables in the typed datasets?
Like
CityTable
----------
CityID
CityName
Employee
--------
EmployeeID
EmployeeName
City -> foreign key to CityTable.CityID
CityName -> lookup column, will get the value from CityTable according
the City value
First the CityTable records are loaded and then the Employee. I could do
this with SQL but that means I would load the same data 2 times and I'm
trying to lower the network usage as the lines that we are using are slow.
In expression column I was trying to use the Parent keyword but with no
luck. So is there a way to do this?
Also is there a way to create more of these lookup columns when a table
is related to more tables with foreign keys?
Thx