Yes, I forgot the file name mangling.

You may need to use the sequential basic functions instead:

OpenSeq "C:\MyPath\MyFile.txt" To FL Else
  Create FL Else
    Crt "Cant create file"
    STOP
  End
End
MyData = Change(MyData,@FM,Char(13):Char(10)) ;* ensure CRLF delimited
WriteBlk MyData On FL Else
  Crt "Error writing file"
  STOP
End
CloseSeq FL


Brian

MYDATA is getting copied to a file(% filename) other than the given 
FILENAME.If I give the file name as  a text file its not able to recognise 
it.Please help me in this regard.

Anita 



[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
04/04/2007 10:36 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
RE: [U2] PATHNAME and DIRECTORY






Anita

Check out the OpenPath statement:

OpenPath "C:\DIRNAME" To MYFILE Then
  Write MyData On MYFILE, FILENAME
End

Brian

I want to store a file within a directory from universe basic say 
C:\DIRNAME\FILENAME.
Can i give the DIRNAME AND FILE NAME during run time .How do I give the 
Directory and file name.
How do I give the path name so that any XL or XML file created gets stored 

within it.

Thanks and Regards,
Anita 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

ForwardSourceID:NT0001562E 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to