Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor not accesible.
Message
 
To
26/06/2001 17:20:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00523815
Message ID:
00523889
Views:
10
>form1.load code:
>CREATE CURSOR mat_cursor ;
> (custno c( 4) ,;
> pn c( 24) ,;
> used_on c( 16) ,;
> LEVEL N(2,0) ,;
> last_used c( 16) ,;
> ITEM_NO c( 16) ,;
> item_rev c( 6) ,;
> catagory c( 1) ,;
> CLASS c( 1) ,;
> DESC c( 25) ,;
> ID c( 2) ,;
> WIDTH N(5,0) ,;
> LENGTH N(5,0) ,;
> pcs N(5,0) ,;
> unit_qty N(5,0) ,;
> qty N(5,0) ,;
> unit c( 3) ,;
> price N(8,2) ,;
> set_up N(8,2) ,;
> amt N(8,2) ,;
> lst_post d )
>INDEX ON custno+pn+STR(LEVEL,2)+used_on+ITEM_NO TAG pn1
>
>
>
>form1.pageframe1.page1.cmdButton.click code:
>select mat_cursor
>
>
>Any seeks, locates, replaces etc. don't work.
>
>Thanks,
>Bill

Basically, what you have is an empty cursor. Those commands you mention won't work on an empty cursor but it shouldn't give you the error you mentioned either. I cut and pasted your code into a brand new form and did not get an error. It is likely you have something else going on that is not related to the cursor.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform