Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Need a Way to Reuse A Field and Get Different Data Each Time

Need a Way to Reuse A Field and Get Different Data Each Time

My report uses the fields:
ad_info.ad_nbr, ad_info.ad_desc and ctlg_ad_comp.comp_ad_nbr

An ad_nbr is a number used to track an advertisement, and the ad_desc describes the ad

Ads can be stand-alone ads or they can have other ads assigned to be delivered with them (as in a catalog and other smaller promotional pieces (components) inserted in the catalog).

I have created a report that lists the ads numbers and descriptions of the "main" ad, and underneath it, the ad numbers of those smaller component ads.

Where I get stuck is including the ad description of the smaller ads. That is because the field that describes the component ads is the ad_info.ad_desc field, same as the field that is used for the main ad. I think I need to create a formula for the component ads, something like ctlg_ad_comp.comp_ad_nbr = ad_info.ad_desc

Am I on the right track here? And if so, how would I set up a formula to pull the descripions of the comp_ad_nbr?

Thanks in advance for any ideas on this.

RE: Need a Way to Reuse A Field and Get Different Data Each Time

Add the ad_info table a second time and rename it ad_info_comp so you know it is being used to decode the comp ads. Then link it to the comp_ad_no. The description field of the new table should reflect the comp ad.


RE: Need a Way to Reuse A Field and Get Different Data Each Time

Thank you very much for advice. That got it going for me.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close