Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Join on different data types
Message
From
21/02/2005 17:17:05
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00988924
Message ID:
00989037
Views:
28
I am using the modify data command of the DBC and then select add remote view.

Where do I put the CAST(TableA.Vendor_number) as int

I thought I would try to change it in the JOIN tab by going to the bottom of the fields and building an expression.

I use cast( Original_ap_invoices.VENDOR_NUMBER) as int
and then hit verify and it says expression OK.

When I try to save the view it says incorrect syntax near expression ‘CAST’, expected ‘AS’

If I use cast( Original_ap_invoices.VENDOR_NUMBER as int)
then it tells me missing )


I am getting CLOSE, but close only counts in horse shoes, hand grenades and atomic bombs. With the SQL syntax it is 100% or ZERO.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform