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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ship via codes 1

Status
Not open for further replies.

ehojr

IS-IT--Management
Nov 15, 2005
53
US
I am attempting to do a simple report on a/p donors and sorting by ship via field. How do you work with the sycdefil to extract the proper description for each vendor ship via code.

sql 2000 crystal 8.5

Thanks
 
What database platform in the back? Pervasive or SQL.

What I would do is this, in SQL.

From Enterprise manager, create a view and give it a name of xxx_ship_via_codes

The sql for this view should be something like.
SELECT sy_terms_cd, ship_via_desc FROM SYSCDEFIL_SQL WHERE cd_type = 'V'

Keep this view. It will be handy on other reports as well. You can then add it to reports linking on the sy_terms_cd here and having the description.

Andy Baldwin

"Testing is the most overlooked programming language on the books!
 
BTW replace the xxx in the view name with something that is unique to your company like its initials or something so as it will not be deleted accidentally.


Andy Baldwin

"Testing is the most overlooked programming language on the books!
 
Your welcome.


Andy Baldwin

"Testing is the most overlooked programming language on the books!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top