![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I hope some guru can give me a positive answer to this.... Is there a way of setting up the TFILE lookup to always look back into the file that is being processed without actually specifying the actual file name in the correlative? I'm trying to create a few files that have the exact same data structure but different file names. I would like to create one TFILE that would work on all the files without having to change the filename in each set of dictionaries. I could be changing a Q-pointer to point to the file I want and I would like the data to be retrieved from the actual data file the is being used in the process. The other thought here is to have one dictionary with many data files attached and have the one dictionary TFILE retrieve data from the data file that is being used to list/select data from. Anyone out there willing to take a stab at this one? Does this posting need clarification? Regards, Dale |
#3
| |||
| |||
|
|
I hope some guru can give me a positive answer to this.... Is there a way of setting up the TFILE lookup to always look back into the file that is being processed without actually specifying the actual file name in the correlative? I'm trying to create a few files that have the exact same data structure but different file names. I would like to create one TFILE that would work on all the files without having to change the filename in each set of dictionaries. I could be changing a Q-pointer to point to the file I want and I would like the data to be retrieved from the actual data file the is being used in the process. The other thought here is to have one dictionary with many data files attached and have the one dictionary TFILE retrieve data from the data file that is being used to list/select data from. Anyone out there willing to take a stab at this one? Does this posting need clarification? Regards, Dale |
#4
| |||
| |||
|
|
Dale wrote: I hope some guru can give me a positive answer to this.... Is there a way of setting up the TFILE lookup to always look back into the file that is being processed without actually specifying the actual file name in the correlative? I'm trying to create a few files that have the exact same data structure but different file names. I would like to create one TFILE that would work on all the files without having to change the filename in each set of dictionaries. I could be changing a Q-pointer to point to the file I want and I would like the data to be retrieved from the actual data file the is being used in the process. The other thought here is to have one dictionary with many data files attached and have the one dictionary TFILE retrieve data from the data file that is being used to list/select data from. Anyone out there willing to take a stab at this one? Does this posting need clarification? Regards, Dale Easy on UniData, but I don't think you are running that. What O/S? -- frosty |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
I'm with Mike on this one; I think you are going to have to use a call correlative and do the lookup in basic. Access(2) = file variable for data file, access(11) = file name. You should be able to use either one? |
#7
| |||
| |||
|
|
I hope some guru can give me a positive answer to this.... Is there a way of setting up the TFILE lookup to always look back into the file that is being processed without actually specifying the actual file name in the correlative? I'm trying to create a few files that have the exact same data structure but different file names. I would like to create one TFILE that would work on all the files without having to change the filename in each set of dictionaries. I could be changing a Q-pointer to point to the file I want and I would like the data to be retrieved from the actual data file the is being used in the process. The other thought here is to have one dictionary with many data files attached and have the one dictionary TFILE retrieve data from the data file that is being used to list/select data from. Anyone out there willing to take a stab at this one? Does this posting need clarification? Regards, Dale |
![]() |
| Thread Tools | |
| Display Modes | |
| |