Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL PT returns a CAST AS CHAR(100) as memo, need char fld
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
SQL PT returns a CAST AS CHAR(100) as memo, need char fld
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01178491
Message ID:
01178491
Views:
76
Hi all

I have a cursor created using SQL PT, in which I have a remarks field, of which I am getting the first 100 characters using CAST(fld AS CHAR(100)) but it is always coming up as a memo field. Whereas the same VFP counterpart code is bringing in the remarks column as a character 100 field.

Can you please let me know how I can convert the memo field to a text field except for creating a second cursor in VFP again from the SQL PT cursor.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform