![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In a nutshell, I get the error "You tried to assign the Null value to a variable that is not a Variant data type." when I change a value to Null in query design view. The query is updatable and the Required property for the changed column is set to "No", so changing the value to Null should be allowed. |
|
To see the problem for yourself, open the database referenced below, then open the query ArgumentRW, delete ElementID 656, then hit Return. You should get the error I mentioned. (If you don't, please let me know.) |
|
Maybe I'm missing something obvious, but my best guess is that this is a bug, and that under some circumstances, "updatable" queries don't support the update operations they should support. If that guess is correct, it would be very bad for me; this error is occurring in an application which was designed to use updatable queries as the source for all forms. If updatable queries aren't reliable, I'll have to do a major redesign of the application to base my forms on tables instead. |
#3
| |||
| |||
|
|
I'm getting an error which I cannot explain. I'd be grateful if someone else would look at it and help me figure out what is going on. In a nutshell, I get the error "You tried to assign the Null value to a variable that is not a Variant data type." when I change a value to Null in query design view. The query is updatable and the Required property for the changed column is set to "No", so changing the value to Null should be allowed. To see the problem for yourself, open the database referenced below, then open the query ArgumentRW, delete ElementID 656, then hit Return. You should get the error I mentioned. (If you don't, please let me know.) ftp://share.matsonconsulting.com/AssignNullError.mdb Maybe I'm missing something obvious, but my best guess is that this is a bug, and that under some circumstances, "updatable" queries don't support the update operations they should support. If that guess is correct, it would be very bad for me; this error is occurring in an application which was designed to use updatable queries as the source for all forms. If updatable queries aren't reliable, I'll have to do a major redesign of the application to base my forms on tables instead. I'm using Access 2003 SP3. -TC |
![]() |
| Thread Tools | |
| Display Modes | |
| |