G
Guest
Looking for some help, I have a report with an unlimited amount or rows. Each
row has 9 text boxes. I need to somehow write a code or expression that will
do the following for each of the nine text boxes found on a report line.
textbox 1
Look at the corresponding table(datesandstatus) where the text boxes will
get their values(by record)...Look at field A from table datesandstatus and
determine if the value is "x","y" or "z" and place that value in the text
box. If none of these values are present, Look at Field C from table
datesandstatus and list it's date in text1 if it is not blank. If field C
is blank, then the value of the text box on the report is field B. Should
this field be blank "PENDING" should be placed.
A = status, B= Date1(projected) C=Date2(revised)
This process has to happen for each of the 9 textboxes in a record for an
unlimited amount of rows on the report until EOF.
ABC1 correspond to one textbox, the next would be ABC2,ABC3, etc. Three
fields are compared for each textbox until a value is picked. All 27 fields
are in one table datesandstatus. A job has 27 date/staus fields. The report
will gather this information based off the table’s primary key field which
relates to the main
table’s key(populates additional textboxes on report line).
Not sure how to start here... create expressions for each text box or can
this somehow be coded and stepped in VB? I've come a long way, but I'm still
a rookie when it comes to vB and access so any help or direction that can be
provided would be greatly appreciated.
row has 9 text boxes. I need to somehow write a code or expression that will
do the following for each of the nine text boxes found on a report line.
textbox 1
Look at the corresponding table(datesandstatus) where the text boxes will
get their values(by record)...Look at field A from table datesandstatus and
determine if the value is "x","y" or "z" and place that value in the text
box. If none of these values are present, Look at Field C from table
datesandstatus and list it's date in text1 if it is not blank. If field C
is blank, then the value of the text box on the report is field B. Should
this field be blank "PENDING" should be placed.
A = status, B= Date1(projected) C=Date2(revised)
This process has to happen for each of the 9 textboxes in a record for an
unlimited amount of rows on the report until EOF.
ABC1 correspond to one textbox, the next would be ABC2,ABC3, etc. Three
fields are compared for each textbox until a value is picked. All 27 fields
are in one table datesandstatus. A job has 27 date/staus fields. The report
will gather this information based off the table’s primary key field which
relates to the main
table’s key(populates additional textboxes on report line).
Not sure how to start here... create expressions for each text box or can
this somehow be coded and stepped in VB? I've come a long way, but I'm still
a rookie when it comes to vB and access so any help or direction that can be
provided would be greatly appreciated.