Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Address from a selected name. Post Reply Post New Topic
Author Message
Wood
Newbie
Newbie


Joined: 04 Aug 2016
Location: United States
Online Status: Offline
Posts: 9
Quote Wood Replybullet Topic: Address from a selected name.
    Posted: 17 Aug 2016 at 4:09am
I have a report that a customer is selected as part of the values entered before the report is run. I need to add the customer name and address to the header of the report. I can add the name easy enough but for the address do I add that thru a sub report or is there a simple way.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 17 Aug 2016 at 6:31am
Without knowing the structure of the database, I cannot say.  Normally either the address is part of the customer table or an address table that is linked to the customer table.
IP IP Logged
Wood
Newbie
Newbie


Joined: 04 Aug 2016
Location: United States
Online Status: Offline
Posts: 9
Quote Wood Replybullet Posted: 17 Aug 2016 at 6:38am
Sorry I was not clear, but this may not be either. I have selected the customer name from a User field in the order header, so it is not linked to anything. I need to do a selection based on that customer name and add the address. Maybe this is not possible? Thanks for your help in advance.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 17 Aug 2016 at 9:46am
Again, we need to know something about the database and the information in the tables.  Otherwise it is just a wild guess.
IP IP Logged
Wood
Newbie
Newbie


Joined: 04 Aug 2016
Location: United States
Online Status: Offline
Posts: 9
Quote Wood Replybullet Posted: 17 Aug 2016 at 11:07am
The Database is like this

DBOrder_History
   Name:String [30]
   Address1:String [30]
   Address2:String [30]
   City:String[20]
   State:String [2]
   Zip:string [13]
DBCust_Master
   User_1:String [30]

I have a static selection of ten entries for the report.
The User1 record is also a drop down list for the same 10 entries.
The Entries match the Name:String in the DBOrder_History data base.

I want to use the address from the data base so that if an address changes it will be the new address in the report.

Is this enough information or am I still falling far short.....


IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.