Thank's Brak , the problem with File() & with locfile() both of them r not looking in the subfolder of the location like "d:\" have some subfolder , the file exsist in one of the subfolders but none of those command find him.
The locfile() is some better , result give the full path of file...
In addition the LOCFILE command doesn't search subfolders as I sow , maybe there is another command to search a folder including his subfolder to see if file exsist there or not.
Thank's
I m using this command tmp=locfile('d:\' + alltrim(prd) + '.bmp'), I use this command to see if a file exsist on a HDD or not , if the file exsist I recive back the full path of the file , the problem , when file doesn't exsist a dialog is open to find the file manualy , how can I avoid this...
Thank's Mike , in my EXE it doesn't work , maybe becase I have 2 forms in the EXE , one form is a simple form which have command buttons to activate certain other forms & the form which is customer's form. The 2nd form customer form is the problematic one. The first form is a Top-level form &...
As I mentioned before
since the file is supose to be open maybe the Browse command is using another work area , can I declare in my form(s) one work area which will serve all my forms/programs??? it might solve the problem I think.
Thank's guy's for your replay , the comma is my mistake , it's not in the code , I put the "use myfile" in the functaion thinking that the file isn't there in the work area , didn't solve the problem (strange). I don't realy know to use the debugger, in the Load mhetod befor opening all the...
I put a command in an command button like : use myfile.dbf in 0 shared
select myfile
browse noedit,nodelete
when runnig the exe program & clicking on the command button nothing happend , after clicking again few times open's a file dialog to select/open a DBF file , the files for this form...
I put them in the begining in the Load mhetod on the form , latter on I tried the dataenvironment also , in both cases the result was the same.
The only way it's working fine is when the form is a "Top-Level".
I meen , tables r not open in the work area decpite the fact that there is a command USE...... , some command on the form r not working like command button which is supose to do browse of a table etc' , what is the big differnt between a form which is "top level" form & form whic is "In top...
Thank's mgagnon , I have a form which is a Menu form with icon's to excute other forms to update tables & is a 2-Top-level form. Each form which is being called from the menu form is declared as 1-In top-level form , this forms r behaving strange , when I change the Showindow mhetod to...
I have a form which I made for customers , when testing the form while designing it's work fine , after creating EXE file it's not working well , suddenly 1 coomand button (browse) is not wprking , the form don't find the files which were declared as free tables in the begining of the program...
I have a form with fields , some of the fields r Read-only , when moving around the form the cursor is going into fields which r Read-only , can I prevent the cursor going into those field ????
Thank's
I declared an array in a form screen by "DIMENSION arparasat(54)" which I put it in the Load Method of the form , the fillup of the array I put in onther Method by " arparasat[1]='Bit' "etc' , I created a Combobox/Pupup & chose the option of " Values from an array " , when runnig the form as APP...
I have DBF files from FPW2.6 which I like to use in VFP7 , my question : can I use those tables/files as they r or I need to convert/import them , if needed to be converted/imported how can I do that.
Thank's
Evrything is fine like somebody saied that the surgery was a sucsess but the patient died , evrything to do with Microsoft is problematic , in FPW2.6 it was enught to copy one file ESL file to shared folder & evrything was working fine now in VFP in the form layout there is an option "show...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.