Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array undefined error
Message
De
26/05/1998 12:10:41
 
 
À
26/05/1998 12:02:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00101942
Message ID:
00101949
Vues:
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform