A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

change recordsource - lose number format



 
 
Thread Tools Display Modes
  #1  
Old January 15th, 2010, 06:07 PM posted to microsoft.public.access.reports
Don
external usenet poster
 
Posts: 992
Default change recordsource - lose number format

i have a subreport, where i may change recordsource depending on a form
value. When this occurs, a text box showing numbers on the sub report loses
its formatting (Standard). If I do not change the recordsource, the
formatting is fine for that text box.
I also tried re-setting the format immediately after setting the recordset,
still does not work..
  #2  
Old January 15th, 2010, 08:10 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default change recordsource - lose number format

don wrote:

i have a subreport, where i may change recordsource depending on a form
value. When this occurs, a text box showing numbers on the sub report loses
its formatting (Standard). If I do not change the recordsource, the
formatting is fine for that text box.
I also tried re-setting the format immediately after setting the recordset,
still does not work..



Is it possible that you changed record source query does
something(?) that causes the number field to be coverted to
a text string?

--
Marsh
MVP [MS Access]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.