Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SHOW ALL RECORDS PLEASE

Status
Not open for further replies.

CHUDMAN

Programmer
Dec 12, 2000
35
0
0
US
// show all records CR8 with oracle 8 db


// here is my attempt
// to show all records available
// and if a record appears within the second table then
// show the count that is in the specified field.
// else a "0" Numerical number should show
// in front of the reporting Form_File_Name field.

if {V_FORM_NAME.FORM_FILE_NAME} = {V_FORM_COUNT.FORM_FILE_NAME}
then {V_FORM_COUNT.NUM_USED}
else "0"


// this will not return the {V_FORM_NAME.FORM_FILE_NAME}
// that does not appear in {V_FORM_COUNT} table.


Please help with possible solution.
 
Did you ever figure out how to show all records, I would greatly appreciate any information on the subject. :)
 
Join tables V_FORM_NAME => V_FORM_COUNT with a Left Outer Join to include all records in V_FORM_NAME and only those records from V_FORM_COUNT with a matching {FORM_FILE_NAME} field. Where no matching record exists, V_FORM_COUNT fields will be NULL.
 
It isn't real clear, but it sounds like you are trying to have the report list data that doesn't have a record. The following has an article that lists your options:

Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top