Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid object not found
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01194197
Message ID:
01194200
Views:
15
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform