=Now() returns #Name? and =Date() returns "compile error"

=Now() returns #Name? and =Date() returns "compile error"

Post by anonymou » Thu, 29 Jan 2004 05:03:57


Basically, any expression involving Date() or Now() or
anything involving time returns an error or wont run.
This has ot be some kind of major problem, perhaps I need
to reinstall access.

Please any help would be helpful.
 
 
 

1. "return delete (new int)" compile but "return delete (new std::string)" not, why?

2. "return delete (new int)" compile but "return delete (new std::string)" not, why?

* X X, on 17.07.2010 02:19:

It's an MSVC (Microsoft Visual C++) compiler bug. By the standard a 'delete'
expression returns 'void' no matter the argument. By the way you should have

1. Mentioned which compiler and compiler version.

2. Provided a complete program example.

3. Cited the error message.

See the FAQ item about how to post a question about Code That Does Not Work.



No.

But then the 'return' is entirely superfluous here.


Cheers & hth.,

- Alf

--
blog at <url: http://www.yqcomputer.com/ >

3. two questions: and's inside if's and checking the return code of a program

4. URGENT - Document library server returned an error: The remote server returned an error : (400) Bad request

5. Return date if in range, else return blank

6. Can a function returning a date return an empty value?

7. "make Makefile.PL" returns "...up to date"; make returns "no target to make"

8. what value does lack of return or empty "return;" return

9. Date returns always returns: 00 January 1900

10. File with nbsp chars in name returned from Directory.GetFiles() but File.Exists() returns false

11. RETURNING INTO returns ORA-01036: illegal variable name/number

12. Why is return type in getfullspec().annotations named as "return"?

13. InitialzeSecurityContext() returns error when DNS domain name is different from AD domain name.

14. gss_acquire_cred returns error on machine with the name different from principal name

15. InitialzeSecurityContext() returns error when DNS domain name is different from AD domain name.