Hello,
I am trying to load the xml storage by using a var from stringgrid.items[1,2], its a number then I begin like this....
unit 1
var
fname ,batch: string
procedure pickdata(stringgrid1:tstringgrid);
Begin
batch:=grid.cells[0,i];
fname:=batcht+'.xml';
end;
unit2
....
implementation
uses
unit1;
procedure loadfile ( xmlpropstorage1 : Txmlpropstorage);
Begin
xmlpropstorage1.FileName:='storage/profiles/'+fname; // var from form1
end;
and the file hasn't been loaded , any suggestions ?
regards