Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid object not found
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01194197
Message ID:
01194200
Vues:
14
>The error "Unknown member GRCWAREHOUSE" appears when the form Init() hits. The error is intermittent and we don't know what else to look for.
>
>Here's the background:
>
>The form has 3 grids in it. The error occurs in the form.init() where assignment of the record source and control source occurs. We have verified that the record source exists. Record source assignment is successful so it meant that the grid object exists. Control source assignment fails returning the error message. GRCWAREHOUSE is the name of the column in the grid (as opposed to the default COLUMN1). Coding looks like this:
>
>
>with .EgrdItemWhs
>   .RecordSource = "CurWhs1"
>   .GrcWarehouse.ControlSource = "CurWhs1.cWarehouse"
>endwith
>
>
>Any idea will be appreciated.

Are you sure .GrcWarehouse is a member of .EgrdItemWhs?

What happens with this:
with .EgrdItemWhs
   .RecordSource = "CurWhs1"
   .Columns(1).ControlSource = "CurWhs1.cWarehouse"
endwith
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform