Maybe I'm missing something but ...
IF your field contains DATETIME() then TIME(fieldname) should return the time.
Works for me in the Command Window. Did not try in a form.
Jack
Shangrilla-
Here goes. Please keep in mind that there are many ways to accomplish this. Smarter guys than I may enter the net on this. This one will work and gives you something to work from towards a more suitable option for your application. A starting point if you will.
From above:
You...
Michelle-
This is not a specific answer as I'm not good at visualizing
others concepts. No go on an input mask so I looked for other alternatives. Have pondered this and will offer up a link that you might wish to study. Uses the ActiveX Calendar Control that ships with VFP as a...
Juan-
Try something like this example from the command window.
STORE 'MYNAME@ATT.NET' TO lcName
?LOWER(lcname)
From the VFP Help:
LOWER( ) converts all uppercase letters (A – Z) in the character expression to lowercase (a – z). All other characters in the character expression remain...
Shangrilla-
Think maybe this is what you wanted or at least will give the direction to get there.
Task was to identify the last page number the user was previewing when the preview window/toolbar was closed.
***************
I created a UDF.
* WhichPage.Prg
Return _pageno
****************...
Shangrilla-
I didn't complete my thoughts in my post above. Sorry.
Obviously one needs to capture _pageno of the last page the user previewed. Somehow we must be able to set a variable
in the report, capture it then do a range print.
Will work on it when I get back from work.
Jack
Murali-
Suggest you look at following (much more on this topic here this is just a few):
First look at Thomas Dill's FAQ184-449.
Others:
THREAD 184-99550
THREAD 184-91877
THREAD 184-8181
THREAD 1847742
Hope you get it working,
Jack
Shangrilla-
If you haven't done so and I understand; you may want to look at range where your report contains the expression _pageno which I'm sure you have on your reports. Numerous ways to go from here.
I remove the Printer Option from the Print Preview Toolbar (lots of Threads on this...
******************
From Help DIRECTORY() to check for a drectory/folder:
DIRECTORY(cDirectoryName)
Returns true (.T.) if the specified directory is found on disk.
From Help MKDIR (Make Directory) how to create a diectory or folder:
SET DEFAULT TO HOME( ) && Restore Visual FoxPro directory...
Derren-
Don't want to leave a thread "modal", I get upset at times when following a thread, or worse yet when a participant and the poster leaves without posting final outcome.
Back to the problem.
Removed Office. Installed afresh.
oWord = CREATEOBJECT("Word.Application")...
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.