Hi,
I'd like to save a datawindow in :
yo.Object.DataWindow.Export.PDF.Method = NativePdf!
sval = 'C:\Users\%username%\Downloads\XXX.pdf'
// 'C:\Users\frn\Downloads\XXX.pdf' in my case
lErr = yo.SaveAs(sval,PDF!,TRUE)
but lerr return - 1
how can i find or use the variable : %username% ?
i try <username>, [username] but same result
thanx
thanx Arthur