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

Linking string field to number field? 1

Status
Not open for further replies.

Slonoma

Programmer
Jul 10, 2003
41
US
Hey all,
What are my options as far as linking a string field to a number field using CR 9 and Oracle?

Thanks,

Slo-No
 
The easiest way to handle this is with the add command function where you write your own SQL. You can then cast the string to a number or vs versa. for the link.

Lisa
 
Lisa,
Thank you very much. This is going to take some work but you got me going on the right path!

Slo-No
 
You can also create a 'view' for the numbered table.

e.g.

create or replace view StringContacts
(name, state, age)
as
select name, state, to_char(age)
from Contacts

When you pull in the StringContacts view to the report (instead of the Contacts table), you can now link 'age' to the other string.

Not the best example, but hopefully it gets you started.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top