Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
 
To
13/03/2006 07:17:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01103660
Message ID:
01103661
Views:
13
>hi all,
>
>i try to run this code under i got error message
>Function argument value, type, or count is invalid
>
>
>CLOSE all
>USE bill in 0
>USE contact in 0
>lcField = UPPER(alltrim(thisform.text1.value))&& char type
>replace IN contact ;
> FOR lcField==lookup(Evaluate("Bill." + lcField), lcField , Evaluate("Bill." + lcField) AND NOT EOF('bill'));
>val with VAL(bill.bill_value)
>
>
>
>thanks

Wrong place of brackets:
 FOR lcField==lookup(Evaluate([Bill.] + lcField), lcField , Evaluate([Bill.] + lcField)) AND NOT EOF([bill]);
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform