Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn EngineBehavior 70 SQL to 80 SQL
Message
From
05/10/2006 07:15:04
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
05/10/2006 07:13:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01159606
Message ID:
01159608
Views:
16
I was trying to update the post, but you were too quick! Verbage is a memo field. I had a similar problem a week or so ago, but I can't find the thread now.

>You must include all the fields in the Group by clause
>INSERT INTO crsDisclaimer (DiscName, Verbage) ;
>	SELECT ;
>		web_FundType.DiscName, ;
>		web_FundType.Disclos2 AS Verbage ;
>		FROM iAccts ;
>		JOIN web_FundType ON iAccts.FundTypeId = web_FundType.FundTypeId ;
>		GROUP BY web_FundType.DiscName,web_FundType.Disclos2
>
>>Just can't seem to get this to work. I tried to break it up into two statements, but still not getting the results I need. Any help is appreciated.
>>
>>
>>INSERT INTO crsDisclaimer (DiscName, Verbage) ;
>>	SELECT ;
>>		web_FundType.DiscName, ;
>>		web_FundType.Disclos2 AS Verbage ;
>>		FROM iAccts ;
>>		JOIN web_FundType ON iAccts.FundTypeId = web_FundType.FundTypeId ;
>>		GROUP BY web_FundType.DiscName
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform