> >
> > Read the error message! And check the syntax for ForcePath() in Help!
> >
> >
There's a fine line between helping and adding to the confusion.> >
> >
How to create sample data>
>
>
> Above code is working fine on No of PCS and Laptop but my PC is generating this error. On my own laptop with windows 10 there is no error at all with this code and my PC with Windows 7 is generating error since last 10-15 days and before this my PC was also working fine with this code.
>
> Rgds:
> Ahsan Rana
No way, the highlighted line gives an error because the syntax is wrong. This has nothing to do with Windows version, it's a syntax error. As I wrote earlier, check the syntax for ForcePath() in Help!
Try this line, which is the first part of the line giving error, in the command window, and see for yourself. It will give the error you showed because it's not correct.
?forcepath(sys(5) + sys(2003) + '\xl\')
There's a fine line between helping and adding to the confusion.How to create sample data