G.C. Royston
I can think of a few ways to do this:
1 ) Be sure your report is based on a query (.QBE) and include the second table
in the query (even if it cannot be linked to the other table(s) of your query).
You can then access the field in Crystal Reports and place it on your report. It
can only have one record.
2 ) Use the dBASE application object _app to pass a variable. This is a little
more trouble, but avoids have the extra table. In the command window, create
_app.YourValue = "whatever". Then modi report YourReport and create a Crystal
Report calculated field using _app.YourValue. In your program, you must
programmatically create _app.YourValue *before* running the report. If you
understand how the .QBE works, you can stick this inside of the .QBE and not
have to worry about making _app.YourValue every time you run the report or
modify it.
** IMPORTANT **
These dBASE news groups are dead. There are NEW news groups hosted by the NEW
owner of dBASE: dBASE Inc. Below my signature is a link to the NEW news server
which hosts the NEW news groups. Come join the fun!
"G. C. Royston" wrote:
--
Geoff Wass ( dBVIPS )
Kuala Lumpur, Malaysia
=>=> More dBASE info at http://members.theglobe.com/Geoff_Wass <=<=
*>*> Visit the NEW! dBASE Inc. news groups on the news server
news://news.dbase2000.com <*<*
Just add the table to your qbe file used to create the report.
With later versions of Crystal you can create queries within
Crystal for this sort of thing.
Andy
In article <7hkhof$57...@forums.borland.com>, "G. C. Royston"
(groy...@concentric.net) writes: >I am using Crystal Reports 3.01
I originally attempted to post this message to the dbase.version5 newgroup
which I have been monitoring for a while, but for some reason Outlook
Express version 5 won't allow me to post there. I get the error "Message
could not be sent-No sender was specified. Please check your News Account
configuration." When I check the News Account under tools the
news.dbase2000.com is there and everything seems set the same as for other
servers, but Outlook Express doesn't like something about the settings.
Geoff S. Wass ( dBVIPS ) <gsw...@ibm.net> wrote in message
news:373E7343...@ibm.net...
> I originally attempted to post this message to the dbase.version5 newgroup
> which I have been monitoring for a while, but for some reason Outlook
> Express version 5 won't allow me to post there. I get the error "Message
> could not be sent-No sender was specified. Please check your News Account
> configuration." When I check the News Account under tools the
> news.dbase2000.com is there and everything seems set the same as for other
> servers, but Outlook Express doesn't like something about the settings.
You may have loaded the group list before the groups were renamed.
The simplest thing to do is delete the news.dbase2000.com account,
then add it back and get a new group list.
Please move to the dBASE2000 News Groups at
news://news.dbase2000.com
as soon as possible The groups here will close very soon.
Gary White [dBVIPS]
Some dBASE Stuff at
http://www.AppTools.com/dbase
G.C. Royston
Gary White [dBVIPS] <dBV...@usa.net> wrote in message
news:37404a61....@forums.borland.com...
When you say you don't know how to base a report on a query, are you saying you
don't know how to make a query or that you don't know how to use a query to make
a report?
I am not sure about your news group problems. Are you able to post to the
dbase.test news group or any of the other ones? Maybe you need to remove the
news.dbase2000.com and add it back (then select your news groups) again.
"G. C. Royston" wrote:
> Geoff,
> Thanks for your prompt response. I am not sure that I know how to base the
> CR report on a query. Could you elaborate for one who is programically
> challenged?
>
> I originally attempted to post this message to the dbase.version5 newgroup
> which I have been monitoring for a while, but for some reason Outlook
> Express version 5 won't allow me to post there. I get the error "Message
> could not be sent-No sender was specified. Please check your News Account
> configuration." When I check the News Account under tools the
> news.dbase2000.com is there and everything seems set the same as for other
> servers, but Outlook Express doesn't like something about the settings.
>
--
> you were absolutely right. After reloading, I was able to post successfully.
> Thanks for the advice.
Glad you got it working. Hope to see you there.
Thanks for response. After I posted this question about the query I followed
your first suggestion and got the CR report working with a QBE allowing me
to use a field from a second database in the report. I had just not realized
that you could do this.
The news group problem was solved by deleting and re-adding the
news.dbase2000.com server. I have been posting to the dbase.version5 group
with no problems. Will all groups on this server be shut down or is it just
this group?
Grover Royston
Geoff S. Wass ( dBVIPS ) <gsw...@ibm.net> wrote in message
news:373FC347...@ibm.net...
> The news group problem was solved by deleting and re-adding the
> news.dbase2000.com server. I have been posting to the dbase.version5 group
> with no problems. Will all groups on this server be shut down or is it just
> this group?
It will be all the dBASE groups.
Thanks for the success report. I'm glad I was able to help. It's good you have
made it into the new news groups. It is only the dBASE news groups at Inprise
that will be closing. Alan Katz only bought dBASE from them. The other languages
still belong to Inprise.
"G. C. Royston" wrote:
> Geoff,
>
> Thanks for response. After I posted this question about the query I followed
> your first suggestion and got the CR report working with a QBE allowing me
> to use a field from a second database in the report. I had just not realized
> that you could do this.
>
> The news group problem was solved by deleting and re-adding the
> news.dbase2000.com server. I have been posting to the dbase.version5 group
> with no problems. Will all groups on this server be shut down or is it just
> this group?
>
> Grover Royston