Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DbGetProp(field,'FIELD','Caption')
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DbGetProp(field,'FIELD','Caption')
Miscellaneous
Thread ID:
00040655
Message ID:
00040655
Views:
97
I have =AFIELDS(myarray) and then myvariable = myfunction(@myarray,parameter2). In the function, I loop from I = 1 to ALEN(myarray,1) and

cTemp = dbGetProp(myarray(I,1),'FIELD','Caption').

If there is a caption, it works. But if there isn't one, I get a "Function argument value, type, or count is invalid." What's wrong? Thank you.
Next
Reply
Map
View

Click here to load this message in the networking platform