Showed value in dd

S

Simone

Guest
Hello, I'm new to Dadabik, and I have a question.

I'm trying to create a demo app with it so that I can better understand how it works.

I have a table "Master" and I have defined the field "Master.detailID"
as "Select single" and after in the field "Foreign key field" I specifyed the value: "detail.detailID".

But when Dadabik shows me the input form(for the table Master), I get a DropDown that shows me the value of the fields "detail.detailID" is this correct ??

What I want to know, is there a way to have displayed i the DD the value of another field of the table "detail", let's say "detail.detail_name
but in the value of the DD I still want to have the value of "detail.detailID.

I mean can I set the values to show in the DD and those to pass when the form is submitted ?

If yes how can I do that ?

Thank

Simone

 
E

Eugenio

Guest
Simone wrote:

> Hello, I'm new to Dadabik, and I have a question.
>
> I'm trying to create a demo app with it so that I can better
> understand how it works.
>
> I have a table "Master" and I have defined the field
> "Master.detailID"
> as "Select single" and after in the field "Foreign key field"
> I specifyed the value: "detail.detailID".
>
> But when Dadabik shows me the input form(for the table
> Master), I get a DropDown that shows me the value of the fields
> "detail.detailID" is this correct ??
>
> What I want to know, is there a way to have displayed i the
> DD the value of another field of the table "detail", let's say
> "detail.detail_name
> but in the value of the DD I still want to have the value of
> "detail.detailID.
>
> I mean can I set the values to show in the DD and those to
> pass when the form is submitted ?
>
> If yes how can I do that ?

No, at the moment you can't have two different values as "value" and option displayed.
Some users, however, have posted on this forum some hacks to get the results you want.

Eugenio.


(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
Top