Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String is too long to fit
Message
De
11/06/2004 09:11:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/06/2004 06:47:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00912608
Message ID:
00912652
Vues:
14
>Hi,
>
>I have a application with this command:
>
>filetostr(my_file)
>
>where my_file is 20 MB.
>
>On my notebook with Win Xp and 1GB RAM works fine but on my server with win2000 and 2GB RAM return the error 'string is too long to fit'.
>
>Any suggestions ?
>
>Thank you

Some VFP functions are limited to 16 MB. I don't know why it works on XP (are you working with the same file in both cases?), but as an alternative for long files, you can use LLFF, or use one of the commands to copy to a DBF (IIRC, it was something like APPEND FROM ... SDF), and process that.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform