Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RecordSource in grid
Message
 
 
To
16/06/1999 16:51:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00230662
Message ID:
00230692
Views:
20
Gnana,

The values entered on the property sheet are limited in length. You can set the RecordSource inside code in the Init() method. Note that no single string constant can exceed 256 characters. So to get a longer total string you have to add substrings together.
this.RecordSource = "select ......" + ;
   "where..." + ;
>I set the recordsourcetype of a grid control to 4 (SQL statement). And I am trying to set the recordsource property to a select statement (string). But my 'select statement' is long and it is getting truncated to 259 characters. How can I increase the limit on the length of strings. Or any other way of getting around this problem.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform