Welcome! Log In Create A New Profile

Advanced

Remove Hyper File

Posted by emirhan 
emirhan
Remove Hyper File
March 10, 2009 01:25PM
hi,

I need to remove a selected hyper file from the project, bu I could not find any function. hdelete() function delete content of the file, but I need to remove the file from the project
Marc De Swert
Re: Remove Hyper File
March 10, 2009 01:39PM
Open analysis and remove the file?
Or what would you like to do?

Marc :cool:
emirhan
Re: Remove Hyper File
March 10, 2009 02:02PM
I copy a hyper file like that;

HAlias(Customer,"TEST")

and I do some thing on TEST and after I finish worked on TEST I need to remove it from the project. is it clear?
Marc De Swert
Re: Remove Hyper File
March 10, 2009 03:20PM
use HAnnuleAlias(TEST)

Marc :cool:
Al
Re: Remove Hyper File
March 10, 2009 09:53PM
Hello Emirhan

HAlias() does NOT copy a file. It opens a second instance of an existing file under another name (alias)


Regards
Al
emirhan
Re: Remove Hyper File
March 11, 2009 11:14AM
But It creates an existing file's copy on the same directory???
Al
Re: Remove Hyper File
March 11, 2009 02:28PM
Hello Emirhan

Quote
emirhan
But It creates an existing file's copy on the same directory???

No it doesn't create any copies. It opens the same file with a different name. It enables you to use the same file twice and work in each instance of the file separately.


Regards
Al
emirhan
Re: Remove Hyper File
March 11, 2009 03:50PM
I am sorry , also use Hcreate(TEST) after the halias() so it creates new copy. How can I remove that copy or alias?
Paulo Oliveira
Re: Remove Hyper File
March 11, 2009 05:11PM
Just use HCLOSE and FDELETE
Al
Re: Remove Hyper File
March 11, 2009 10:09PM
Hello Emirhan

Depending on what you are trying to achieve, you could consider creating a view or a memory table to hold and work with the information. They will function in the same manner as a file.

What are you trying to do by creating the Test file ?

Regards
Al
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: