Hi all,
I need to use the GET function.The below is the scenaio encountered.
I need to get the record from a table A with the following tables.
Table A
field P- type CODE
field q- type CODE
field POSTING DATE- type DATE
field q- type Text
field X- type CODE from Table B
field Y- type CODE from Table B
field Z- type DATE from Table C
I need to get the records of Table B, C into Table A where Z is the date field in Table C. I need to get the value of Z by selecting the date applicable to the current posting date.
Table A..................................................................................
p...................q.................................POSTING DATE..............r....
01.................abc..............................24/02/09....................111..
Table B..................................................................................
X..................Y................................XX................YY...............
01...............abc..............................1345.00.........gggg.............
Table C..................................................................................
X..................Y......................................Z..........................XXX...
01.................abc..............................01/04/08....................111..
01.................abc..............................01/02/09....................222..
01...................''................................01/02/09...................333..
I am writing this as
A.GET("B".X,"B".Y,"C".Z..POSTINGDATE);
But i am not getting the report correctly.
can someone tell me how to write this in a report.
0
Comments
if you want to get the info to table A
then why are you getting A?
to get it would be more like
b.get("A key fields")
c.get("A key Fields")
:-k
http://www.BiloBeauty.com
http://www.autismspeaks.org
Instead of using this meaningless example (table X, field A does not mean anything), tell us the actual field names and data types, so we know what you mean and we can give you much better help.
RIS Plus, LLC
MVP - Business Apps