Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: command Object in another command object Post Reply Post New Topic
Author Message
thunderball
Newbie
Newbie


Joined: 25 Jun 2010
Location: India
Online Status: Offline
Posts: 12
Quote thunderball Replybullet Topic: command Object in another command object
     Posted: 14 Jul 2010 at 8:08pm
I need to use a command object inside another object . Is it possible?
 
Actually I have two command object and I want to combine them to create a new command object.
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 15 Jul 2010 at 3:22am
if you just want to retrieve data in a command object, if the sql is compatible just write it. if you are selecting more than 1 table or something that won't fit in a union, then a command object is not going to work.
 
just my 2 cents...it is my belief that command objects were created/designed to retrieve data for parameters, not to retrieve data to drive a report off of...many people seem to like to drive the report off of the command object and then have issues with how CR handles the parameter input...
 
HTH
IP IP Logged
thunderball
Newbie
Newbie


Joined: 25 Jun 2010
Location: India
Online Status: Offline
Posts: 12
Quote thunderball Replybullet Posted: 17 Jul 2010 at 3:09am
I cant write the sql query as both are from different databases and they are not linked
IP IP Logged
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