Now it's getting bizarre. Instead of pulling data from the ICD1 field, the code populates the field with the same data ("32"), for every record in the query. Actual field data should be 4 to 5 characters long and include numbers and a decimal- e.g., 315.5, 286.90, etc.
32 is the ASCII code for space, so my guess was wrong.
Anyway, trying to center 5 characters long numbers in a 6 characters long field is amazing me ...
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
As you've found, it's not exactly a snap to format data in a query's datasheet output. Sounds like you might be a spreadsheet jockey hoping to make this query output more "presentable" - and I'm not trying to make light of that, it's just that queries extract data and do calculations - they're just not designed to be "presentation-worthy". The only straightforward way to do this, depending on where the output is really going, is to use a form or a report, both of which support all the usual formatting options.
--------------------------------------
"For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled." - Richard P. Feynman
It was really more of a "want" than a "need"- a lot of our data really doesn't even need a report- a query works fine, except that visually the data is sometimes a little more tiresome on the eyes due to the lack of formatting options. Oh well, thanks for giving it a shot!
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.