If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Variant data type
Im trying to assign auto date(current date) to the date field.However
everytime I do this, there is an error, saying im trying to assign a null value to the variable that is not a variant data type.Im using: =date(). Is there a way I can change the date variable to a variant datatype. |
#2
|
|||
|
|||
On Thu, 2 Dec 2004 22:25:01 -0800, "Wantula"
wrote: Im trying to assign auto date(current date) to the date field.However everytime I do this, there is an error, saying im trying to assign a null value to the variable that is not a variant data type.Im using: =date(). Is there a way I can change the date variable to a variant datatype. There are a couple of possible causes of this error: - Check your References. Open the VBA editor and select Tools... References from the menu. If one is marked MISSING, many things will get messed up, calls to Date() amongst them. Uncheck the checkbox by the missing reference, and (if it's needed) recheck it. Close and open Access and see if the problem is resolved. If not, doublecheck that the file referred to by the reference does in fact exist in the pointed-to directory. - If you have a field or a control named Date, Access may be getting confused. Rename it. John W. Vinson[MVP] Join the online Access Chats Tuesday 11am EDT - Thursday 3:30pm EDT http://community.compuserve.com/msdevapps |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
join problem | Jonas | Running & Setting Up Queries | 8 | December 23rd, 2004 07:35 AM |
Table Data Type for Option Group controls on Forms? | Pat Dools | Using Forms | 1 | December 18th, 2004 01:01 PM |
SQL view of messed up action queries | Kendra | Running & Setting Up Queries | 2 | August 31st, 2004 09:53 PM |
Importing Excel spreadsheet into Access - data type problem | Andrew Good | General Discussion | 2 | August 27th, 2004 09:39 AM |
Number Data Type Field and Leading Zeros | Carlos | Database Design | 4 | July 28th, 2004 07:29 PM |