P
paul p
Hi there,
I'm here to ask another report related question.
I created a report which populates its controls with the data shown in a form. Everything works fine except for the data I got via a related table.
The data compiled in the form, are saved in a table, in which a column values are to be chosen from another table's list of values.
If I refer to the form control called Client, in which the value is say "XXX Spa", the report returns me 1, since the value XXX Spa is the first in the list of the related table's values.
How can I refer to the actual value, instead of the listing order of the value itself? I tried via SELECT function but I just can't find the right expression to achieve the results.
Here some data:
Fatture.Client is the table and the column/control I display, Clients.CompanyName is the table and the column in which are listed the values I take to display in my Form/Report. The relationship is obviously One-To-Many.
Thanks in advance for your advices.
Paul
Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .Net Tips and Tricks No. 26
http://www.eggheadcafe.com/tutorial...be30-cde5d852348d/dr-dotnetskys-cool-net.aspx
I'm here to ask another report related question.
I created a report which populates its controls with the data shown in a form. Everything works fine except for the data I got via a related table.
The data compiled in the form, are saved in a table, in which a column values are to be chosen from another table's list of values.
If I refer to the form control called Client, in which the value is say "XXX Spa", the report returns me 1, since the value XXX Spa is the first in the list of the related table's values.
How can I refer to the actual value, instead of the listing order of the value itself? I tried via SELECT function but I just can't find the right expression to achieve the results.
Here some data:
Fatture.Client is the table and the column/control I display, Clients.CompanyName is the table and the column in which are listed the values I take to display in my Form/Report. The relationship is obviously One-To-Many.
Thanks in advance for your advices.
Paul
Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .Net Tips and Tricks No. 26
http://www.eggheadcafe.com/tutorial...be30-cde5d852348d/dr-dotnetskys-cool-net.aspx