Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: joe Degorio
  Where is joe Degorio?
 Tacloban City
 Philippines
 joe Degorio
 Tags
Subject: RE: Error running simple program
Thread ID: 345107 Message ID: 345117 # Views: 49 # Ratings: 2
Version: Visual FoxPro 9 Category: Databases, Tables and SQL Server
Date: Friday, May 18, 2012 1:10:57 PM         
   


> >
> > You simply fail to apply creating true cursor basics. Add nofilter to your SQLs that create view_room* cursors. ie:
> >
> >
select * from myTable into cursor view_rooms1 NOFILTER

> >
> >

> > Cetin Basoz
> >
> > .Net has got better.Think about moving - check my blog:
> > My Blog
> > Blog (mirror) - sounds to be down
> >

> > Support Wikipedia
>
> Hi Cetin, thanks for responding...I use the following code in the Loading event...
>
>
> * your code here
> select * from room1 into cursor view_rooms1 NOFILTER
> Select * From view_rooms1 Where .F. Into Cursor gridjunk READWRITE 
> 
> 

> But unfortunately the same result...what do you think I'm missing?
>
> Thanks,
> joe

Do that everywhere in your code where there is an SQL with no NOFILTER followed by another select from that cursor. Use tools\Code references to find all occurrences of view_room.

(there are 4 in form1 and 4 in form2)



Cetin Basoz

.Net has got better.Think about moving - check my blog:
My Blog
Blog (mirror) - sounds to be down


Support Wikipedia

ENTIRE THREAD

Error running simple program Posted by joe Degorio @ 5/18/2012 11:03:42 AM
RE: Error running simple program Posted by Cetin Basoz @ 5/18/2012 11:15:35 AM
RE: Error running simple program Posted by joe Degorio @ 5/18/2012 11:28:51 AM
RE: Error running simple program Posted by Martin Krivka @ 5/18/2012 12:14:43 PM
RE: Error running simple program Posted by joe Degorio @ 5/18/2012 12:19:23 PM
RE: Error running simple program Posted by joe Degorio @ 5/18/2012 12:57:12 PM
RE: Error running simple program Posted by Cetin Basoz @ 5/18/2012 1:10:57 PM
RE: Error running simple program Posted by joe Degorio @ 5/18/2012 1:18:50 PM
RE: Error running simple program Posted by Ilya Rabyy @ 5/18/2012 7:48:38 PM
RE: Error running simple program Posted by joe Degorio @ 5/19/2012 1:26:26 PM
RE: Error running simple program Posted by Cetin Basoz @ 5/19/2012 10:49:04 PM