Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text ... Endtext
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01676877
Message ID:
01676927
Views:
64
SMS messages are limited to 160 characters (check exact limit), so that's likely while you're getting a truncated string.

Depending on the service, some services may break longer messages into multiple SMS messages, but that's not recommended. SMS is supposed to be for very short messages or links.

+++ Rick ---

>Dear Experts,
>I have a variable called cMessage and it has this data
>
>
>cMessage=""
>cMessage=Alltrim('Dear customer'+Space(1)+Alltrim(m.cust_name)+Space(1)+Alltrim("(")+Alltrim(Str(m.mynaap))+Alltrim(")");
>				+Alltrim(",")+Space(1)+'your'+Space(1)+;
>				ALLTRIM(m.prod_type)+Space(1)+Alltrim('has been booked with ID #')+Space(1)+Alltrim(Str(m.jobb_id));
>				+Space(1)+Alltrim('on')+Space(1)+ Dtoc(m.book_date)+Space(1);
>				+Alltrim('and delivery date is'+Space(1)+Dtoc(m.duee_date))+Chr(13);
>				+Alltrim('Thanks for Trusting.')+Chr(13)+Alltrim('Heaven Tailors Bahawalpur.');
>				+Chr(13)+Alltrim('Mobile: 0301-0000000'))
>

>
>IF I show the result of cMessage in messagebox THEN result looks like this
>
>Dear customer M.sajid Qazi (2450), your Waist Coat has been booked with ID # 8 on 31-10-20 and delivery date is 03-11-20
>Thanks for Trusting.
>Heaven Tailors Bahawalpur.
>Mobile: 0301-0000000
>
>
>Now I want to prepare cMessage for sms
>todo this I am trying cMessage with text....endtext like this
>
>
>Local ccMessage As String
>m.cMessage
>ENDTEXT
>
>Messagebox(ccMessage)
>
>
>but it shows this line only
> m.cMessage
>
>Please
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform