Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report/Variable Definition..Help
Message
From
29/12/1998 13:31:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/12/1998 13:04:06
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00171268
Message ID:
00171278
Views:
27
>I have this 2.6 app that request some info and the title change
>depending on the query and the request.
>Well, I created a title variable that will avoid creating 5 diff
>reports because of it. Now the proble is when I go to the
>Report/variable menu and create the Var, this one becomes a
>NUMERIC var. Why?? eventhough the stored value is a Char-string!!
>O perhaps is there any other way?
>
>thanks for your help
>
>marcos oliva
Marcos,
You don't need to define the var in report. ie: set a report field as :
padc(m.title,40," ")
and set the length of report field to 40 chars, place as you'd like (in preview mode either define m.title in command window or temporarily quote it).
m.title = "My report 1 title"
report form myreport
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform