Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array undefined error
Message
From
26/05/1998 12:16:08
 
 
To
26/05/1998 12:10:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00101942
Message ID:
00101952
Views:
20
>>>In one of my methods I have the following code for enabling or disabling fields:
>>>
>>>_________________________________________________________
>>>
>>>PARAMETER CurObject
>>>
>>>PRIVATE FieldList, M.num, M.CurField, M.CurType, M.CurEnabled
>>>
>>>M.curarray = AMEMBERS(FieldList, &CurObject ,2)
>>>
>>>blah blah blah.....
>>>________________________________________________________
>>>
>>>Even though my program runs fine, I keep getting this error when I build:
>>>
>>>"Form c:\newbl\vfp customer app\custform.scx has the following errors:
>>> Unknown FIELDLIST - Undefined"
>>>
>>>I tried making it a property but that didn't seem to work. Help.
>>>
>>>I'm using VFP 5.0a
>>
>>FieldList supposed to be an array and VFP expects from you to declare it properly using DIMENSION fieldlist(n)
>
>Hmmmm, I was thinking AMEMBERS did that for you.
>
>Thanks!
>
>By the way, I read your post on Validate Database. I tried rebuilding a few indexes on tables in a DBC by deleting the CDX and recreating it. It didn't like that, I stopped at that point and haven't had time to investigate it further. Is there a sample somewhere of a good reindex building prg for tables in DBC's. Also, does FoxFix now have a version that works with DBC's?

If you do reindexing by deleting tags and then recreating from scratch, then you lose all RI stuff (triggers). So, you should also add some CREATE TRIGGER code. Other question you probably should address to all UT (i don't have much information here, sorry).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform