Thanks for the reply. Assume that it's a network mapped drive not a substituted drive. My ICT department do the mappings. I guessed I'd need to make an OS call but I have no idea of the syntax. A code example of this is what I'm really after. Thanks.
Hi
I need to convert a mapped drive path (eg K:\Projects\ABC) to a UNC path name (like \\Fe_Techuser\User\Projects\ABC)
in a pc based fortran program. I am currently using Compaq visual fortran 6.6. If its easier to get the mapped drive from a UNC Path that would be fine.
Thanks.
Chris16
Still not working. I'll figure it out. I'm defintely doing something wrong. Thank you for your help.
datevalue("7/25/2001") - {SDTRDJ} is all I need?
Thanks again.
Have a good day.
Chris
Ken,
Hello again.
What is the field that you need to convert?
Field name is SDTRDJ
What values does it display if you put it on the report?
101,205, 101,198, 101,129, etc.
What should these end up as?
7/11/01, 8/12/01, etc. (in that date format)
Thank you Ken, any help is much...
Ken,
Sorry, getting a error message saying, "Statement needed". Option explicit possibly, really unsure, as you can tell I'm a newbie. I would rather try and stay in crystal syntax if I can. I apologize for being vague.
Chris
Hi, can someone help me. I'm converting julian to gregorian dates. Using the basic syntax (VB) having trouble. My code reads as follows:
Function ConJul(JulianDate As Long)
ConJul = DateSerial(1900 + Int(JulianDate / 1000), 1, JulianDate Mod 1000)
End Function
Not working.
Also...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.