DataBridge/DataAssist List type form fields
Hi Jason,
Just wondering if DataBridge(DataAssist pages) can handle the Menu/List type fields?
I mean i'm able to choose the List type (multiple select) but will DataAssist(DB) handle this returned array on it's own or does it need handcoding?
I would assume since it is possible to choose this field type that it will handle it like it handles all other fields without handcoding.
I have not tried yet but want to know in advance if it can and how it will handle this array of returned values to store in database. (As seperated string value)?
The reason why i ask is as follow:
I'm creating insert & update pages for my players and teams pages.
I have 2 tables:
Player:
playerID
playerName
teamID (FK to the teams table teamID)
etc...
Teams:
teamID
teamName
etc..
Now the most easy would be to create the insert & update players page to hold a select menu with the teams to choose from but doing this way you always have to go to all the players to update the team FK column when they change teams.
Second approuch would be to create a multi select list on the insert&update teams page and choose all the players for that team and then update the players FKcolumn in the players table with the new teamID.
This second approuch seems to look more user friendly when maintaining the teams with players but i'm not sure how to accomplish this with Databridge because it would involve a multiple select list (which returns an array) and then it needs a multiple update server bahavior to update all the teamFK column in the players table with the new teamID.
Maybe you could point me in the right direction on how to do this with DB/DA. Also the select list on the update teams page should show the initial values again.
The first approuch is easy and i can do this without problem but i prefer the second approuch which looks more user friendly i think.
Any idea's.
Thanks.