I am still working on a way to rewrite the original query. I'm not sure I can jump the last hurdle.
That code should work.Hey there, y eah Ive been playing around with it too, can't seem to get anything..
I just attempted your code, and I got this error:
'Run-Time error 94' Invalid Use of Null
Hey,
Ok Im going to attempt this here in a bit...
I have one other question - instead of showing the volume numbers as 1.0, 2.0, 3.0 etc..
I need to show them as 001, 002, 003 - Ive tried just typing 001 into the database, but Access removes the zero's...(I need them to show)
So I tried opening the table in design view, and selecting the volume column and assigning the Allow Zero Length...but that is only available for columns that have the 'Data Type' of text, not the 'Data Type' of Number
Any ideas on how I can get these zeros to show?
I downloaded the sample MDB file of yours. Vol is typed as MEMO which is basically TEXT. Therefore it worked fine for me to type "001" into the field.Hey,
Nope sorry about that, I should have clarified it more...
I meant in the 'VOL' column in the sample data I provided a link for...
If you tried typing 001 instead of 1.0
Access removes the zeros. Is there a way to keep the Zero's shown?
I went into the 'Design' View for the table and was going to assign the Zero-Length Value, but since the 'VOL' field is strickly meant for 'Numbers' only - I can't change the field...
Im not sure if assigning the zero-length value is how you would get the Zero's to still be shown, but I thought it might be an easy method (but of course it didn't work.
Anyway - the reason I have to do this, is because Im told the VOL field has to show volume numbers like this:
001 instead of 1.0
002 instead of 2.0
003 instead of 3.0
004 instead of 4.0
and so on.
Talk to you later!
Ill post here once Ive altered the code you provided and tested it on my end!
Thanks,