Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Long field name bug
Message
From
24/11/2006 10:38:35
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01171727
Message ID:
01172272
Views:
24
>>>What was the unsafe technique then?
>>
>>Well, using cursors with long field names, and then trying to change the strucure of this cursor, is one example...! In general, I would say that using long field names is a potential problem, unless you play 100% by the book, including the fine print, as in this case. The same goes for tables and directores with spaces in their names. Doable, but asking for problems. Another example is Index on alltrim().
>
>Spaces in file names is a feature asked for by the (virtual) user. It makes interacting with applications more user friendly. Long field names ... same story. I'll never gonna tell other, new developers that they should avoid such features. On the contrary, long names and spaces are among the key features of modern applications.

I agree, and this is why I very often comment messages here when someone uses &lcFilename in stead of (lcFilename). &lcFilename is a good example of what I mean by "unsafe technique", it will work for years until a user uses a space in the file name.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform