Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: mohammed qasem
  Where is mohammed qasem?
 amman
 Jordan
 mohammed qasem
 Tags
Subject: RE: set defa to
Thread ID: 249044 Message ID: 249076 # Views: 1 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Monday, December 28, 2009 8:34:17 AM         
   


Instead of SET('DEFAULT') use SYS(5)+SYS(2003)

Regards
Tushar
> hello,
> i try as below i get c:\, and the free table(master) is not found
> if the exe. path at c:\ammar ???
>
> thisform.OldDefault=SET('default')
> thisform.text12.Value= thisform.OldDefault&& result is c:
> SET DEFAULT TO i:\habsystem\aa
>     lcFilePic=GETPICT()
> IF !EMPTY(lcFilePic)
> thisform.text4.Value=(lcFilePic)
> ENDIF
> 
> lcOldDefault=thisform.OldDefault
> SET DEFAULT TO (lcOldDefault)
> 
> 
> thisform.text18.Value= lcOldDefault&&result is c:
> 
> 
> 

>
> thanks
> > Create a property in the form called OldDefault
> >
> > Then in the init before the SET DEFAULT TO command give
> >
> > thisform.OldDefault=SET('default')
> >
> > and when you want to reset give
> > lcOldDefault=thisform.OldDefault
> > SET DEFAULT TO (lcOldDefault)
> >
> > Regards
> > Tushar
> >

ENTIRE THREAD

set defa to Posted by mohammed qasem @ 12/27/2009 1:04:36 PM
RE: set defa to Posted by M. Akram Bhatti @ 12/27/2009 1:19:51 PM
RE: set defa to Posted by mohammed qasem @ 12/28/2009 8:21:55 AM
RE: set defa to Posted by M. Akram Bhatti @ 12/28/2009 8:56:44 AM
RE: set defa to Posted by Benny Thomas @ 12/27/2009 1:21:57 PM
RE: set defa to Posted by tushar @ 12/27/2009 1:22:26 PM
RE: set defa to Posted by mohammed qasem @ 12/28/2009 8:20:19 AM
RE: set defa to Posted by tushar @ 12/28/2009 8:34:17 AM