Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box Error
Message
 
 
To
20/10/2011 05:30:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01526948
Message ID:
01526953
Views:
57
Check http://www.berezniker.com/content/pages/visual-foxpro/cannot-access-selected-table-error-1152

>I am facing an error in GotFocus Event of combo box. The code is as below:
>
>IF USED('kategory')
> USE IN kategory
>ENDIF
>Do Case
>Case This.Parent.cbogroup.optmajcat.Value = 1
> Select Distinct maincat From kategory Into Cursor tmpmaj
> This.RowSourceType = 2
> This.RowSource = 'tmpmaj'
>Case This.Parent.cbogroup.optcategory.Value = 1
> Select Distinct category From kategory Into Cursor tmpmaj
> This.RowSourceType = 2
> This.RowSource = 'tmpmaj'
>Case This.Parent.cbogroup.optsubcat.Value = 1
> Select Distinct subcat1 From kategory Into Cursor tmpmaj
> This.RowSourceType = 2
> This.RowSource = 'tmpmaj'
>Endcase
>
>
>
>And error is "Cannot access the selected table.tmpmaj"
>
>Saif
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform