If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Grouping on a field from 2 dataset (separate databases)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-21-11, 16:56
kcalixtro kcalixtro is offline
Registered User
 
Join Date: Oct 2011
Posts: 1
Grouping on a field from 2 dataset (separate databases)

I have a crystal report that currently has 2 connections to 2 separate databases on 2 separate servers that are physically on 2 different cities. (that works fine!!)

The data pull from each server is structurally the same (have the same field names and types). It's just that one gives me data from one location, and the other from the other location. (as I said, the data is being pulled into crystal fine)

THE PROBLEM: The Crystal report I am working on, is supposed to combine the data from this 2 datasets and group them by a given field (let's call it "WantedField"). But even though the name of the field is the same on both queries, I CAN'T find a way to JOIN the data within Crystal so I can group by the field name("WantedField"). I can see that Crystal prequalifies field names with the command name, so WantedField from CommandONE is CommandONE.WantedField while WantedField from CommandTWO is CommandTWO.WantedField making them different names within crystal.

Does anyone know a way around this so I can group by the WantedField regardless of which command brought the data over?
Reply With Quote
Reply

Tags
crystal reports, different databases, grouping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On