Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proc for index/pack tables
Message
From
13/08/2003 11:13:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/08/2003 11:07:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00819784
Message ID:
00819788
Views:
9
It would help if you say what error message you get, or what is the expected vs. the obtained result.

Anyway, I suspect you should change:
select cfile
to:
select (cfile)
Otherwise, VFP will think it is not a variable, but the real name of the alias.

HTH,

Hilmar.

>Why the following syntax not working?
>
packindex('table1')
>proc packindex
>lparameter cfile
>select cfile
>pack
>reindex
>endproc
>Thank's in advance
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform