1/ The path should be F:\angel1234 wrote:hi,
can you please tell me is this the correct syntax of ascii output statement??
asciioutput('F:outputext.txt',dayno(attrs('storename1',type,'startdate');
and please tell me in which tab i should write the statement in advanced area.
thanks and regards,
angel
2/ As I mentioned, you need to convert DayNo to a string. You can't feed a numeric value into AsciiOutput. You can use the Str() function for that, or the NumberToString function.
3/ I count three opening brackets, but only one closing bracket. These have to match.
4/ Is type the name of the store? It looks like an attribute name rather than a store name.
Assuming that the Type variable is correct, the syntax you'd need is:
Code: Select all
asciioutput( 'F:\outputext.txt', NumberToString( dayno( attrs( 'storename1', type, 'startdate') ) ) );