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


> > Hi everyone, I have a simple program that loads data to a grid upon loading form... the thing is it's working fine inside the IDE...but when running as EXE I got this error... i'm not really sure what is causing it... kindly check attach file...and I also included project file and executable file just in case if needed.
> >
> > Kind regards,
> > joe
> >
> >
> >
> >
> > https://www.foxite.com/uploads/23b13431-58d5-4e79-ba46-fd241e6dc217.zip
>
> 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

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