Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query Help part 1
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00952380
Message ID:
00952396
Views:
8
Update. I made a mistake. Now I realise that field3 is numeric:
<SELECT  cust_no, field1, field2, IIF(table2.Field3>5,Table2.Field3, 0000000) AS Field3;  && You must add so much zeros as LEN of Table2.Field3
               FROM table1;
               LEFT JOIN Table2 ON Table1.Cust_no = Table2.Cust_No;
              INTO CURSOR cCursor
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform