"DT" <derek.theobald@dolgader.co.uk> wrote:
Hi All
I am writing a global procedure to format Name & Address data (get rid
empty lines etc)
I have this information in a number of different datafiles (identical format
obviously) so the plan was that I would call the procedure sending 2 parameters,
"p_Filename" and "p_RecordISN"
Hfilter, HreadFirst and HReadNext all accept the p_Filename parameter and
return the correct record(s)
The problem arises if I try to use the data
sTextString = p_Filename.Address1 for example results in an error regarding
the .
I have tried various combinations of "" without success
Substituting the p_Filename for the actual filename to populate sTextString
works as expected
Any ideas - or better still a solution
Regards
DT
Here you are with one of my favourite Windev possibilities
(apart from things like dynamic compilation) : 'Indirection'
Look for it in the help ...
example:
-------------------------
sTextString = {p_Filename+".Address1"} //or something
--------------------------
greetings,
Peter