Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataExplorer & New VarChar
Message
 
 
To
06/06/2004 12:22:47
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910533
Message ID:
00910536
Views:
25
<snip>
>
>Second, I just created a new view using a remote connect to a SQL table. After adding this SQL table to the view, I was surprised to see that the view properties had all been automatically set to "CHARACTER" for all of the 'varchar' fields in the SQL table. I was able to change all of the properties from "Character" to 'varchar' and everything then worked as 'advertized' but it seems crazy that you would need to manually reset all of the fields from 'character' to 'varchar.' Does anyone know why the ViewDesigner did not automatically set the properties to 'varchar?'
>
>FYI ... the SET VARCHARMAPPING feature was set to ON.
>

Hi Robert,

SET VARCHARMAPPING controls only SQL Engine behavior. You can issue CURSORSETPROP("MapVarchar",.T.,0) and subsequently View Designer and CREATE/MODIFY VIEW commands will map varchar to varchar .
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform