Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does DBGetProp choke?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00867889
Message ID:
00868784
Views:
23
Sergey,
Thanks for the insight. I'm a bit baffled since these three line immediately preceed the SCAN ... ENDSCAN where the problem occurs.
cAlias		= ALIAS()
COPY STRU EXTE TO (cStru)
USE (cStru) IN 0 ALIAS curStruct EXCL
I'm trying to enhance John Koziel's LS utility. You were kind enough to send me the source code for version 1.5 last year.


>You could get this error if cAlias references table/view that doesn't exists in the current database.
>
>>
>>The following two lines of code:
>>
>>cFieldCap = DBGETPROP(cAlias+"."+ALLTRIM(curStruct.field_name),"FIELD","Caption")
>>cFieldComm = DBGETPROP(cAlias+"."+ALLTRIM(curStruct.field_name),"FIELD","Comment")
>>
Randy Bosma
VFP - Because life is too short to code in something else...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform