I am not a pick/d3 person so please pardon the ignorance.
I have been tasked with pulling information from my company's pick/d3 DB
into our Lotus Notes system using ODBC. Seems fairly easy except that I
cannot get the sql-create-view command to work on the CUSTOMER file.
My command looks like this:
SQL-CREATE-VIEW CUSTOMER NAME LASTNAME STREET CITY ST ZIPCODE TELEPHONE
[ADDITIONAL-PHONE#] [ORDKEY] [JOBKEY] [TRANSKEY] (cze
It starts to analyze the Customer file and fails with:
'LASTNAME' is not an attribute definition
When I enter <SORT DICT CUSTOMER>, LASTNAME shows up in the list as
attribute 20 as TYP L. I removed LASTNAME from the statement and tried
to run it again, and it came up with the same error for STREET. So I
stripped the command down to:
SQL-CREATE-VIEW CUSTOMER CITY
and it worked just fine. So, I cannot tell what the difference is
between the NAME/CITY attributes and the LASTNAME/STREET attributes that
lets this command succeed. None of these fields are MV and are just
simple text.
Any tips or ideas on what to look for to get this to work would be
greatly appreciated.
Thanks,
Jon
--
Posted via http://dbforums.com