Code Look-up in Report 
Author Message
 Code Look-up in Report

I have a report that is based on an Access query of a table.  The query
returns several codes (10, 231, 44, etc) that relate to several tables,
(Products, CompanyStatus, Contact, etc).  Is there any way to do a "table
look-up" in crystal against a access table.

Can it be done in a formula field, something else.
i.e. Formula = LookUp("tblContact", ID = 100)

You can't use the stored procedure feature to run against an access module,
can you?

I realize that I could just return the code descriptions in the query
instead of the codes, but I am curious.

Thanks



Fri, 21 Apr 2000 03:00:00 GMT  
 Code Look-up in Report

Subreports do exactly this.

Jim.

Quote:

>I have a report that is based on an Access query of a table.  The query
>returns several codes (10, 231, 44, etc) that relate to several tables,
>(Products, CompanyStatus, Contact, etc).  Is there any way to do a "table
>look-up" in crystal against a access table.

>Can it be done in a formula field, something else.
>i.e. Formula = LookUp("tblContact", ID = 100)

>You can't use the stored procedure feature to run against an access module,
>can you?

>I realize that I could just return the code descriptions in the query
>instead of the codes, but I am curious.

>Thanks



Sat, 22 Apr 2000 03:00:00 GMT  
 Code Look-up in Report

I haven't tried to do it but my impression is that when you have a stored
procedure that has to be your only data source.

I would try however to add the lookup table and link it using the Visual
Linking Wizard and see if it lets you do it and if it does does it work.
Let us know what you find out.

To your question you cannot do what you want in a formula but you could do
it with a subreport.



Mon, 01 May 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Looking for some Visual Basic code if it already exist, or someone to write this code

2. Looking for Crystal report expert (to do report from Soffront Track bug database)

3. Crystal Reports vs VB reports in code

4. Dial Ups

5. Microsoft Press More Than 300 Titles + FREE UPS Ground shipping

6. Outlook Hang ups

7. Pop-ups in MS Office

8. Dial Ups

9. Default Dial Ups

10. Anyone worked with UPS Online Tools

11. SET UPS: Please Stop... AND Lood

12. VBA ups & downs

 

 
Powered by phpBB® Forum Software