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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Exporting Yes/No field to XLS



 
 
Thread Tools Display Modes
  #1  
Old October 17th, 2004, 04:14 AM
Robin Chapple
external usenet poster
 
Posts: n/a
Default Exporting Yes/No field to XLS

I have a membership database which records various options per member
by the use of a Yes/No box.

When I attempt to export a report, including a Yes/No field in XLS
format the Yes/No field is ignored. It does not feature in the report
at all.

Is it possible to inlude a Yes/No field in an XLS export?

Thanks,

Robin Chapple


  #2  
Old October 17th, 2004, 05:52 AM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

You're wanting to export the value of a Yes/No field to an EXCEL
spreadsheet? Such fields will export with value of 0 (if the field has a No
value in it) or -1 (if the field has a Yes value in it). Are you not seeing
this result?

--

Ken Snell
MS ACCESS MVP

"Robin Chapple" wrote in message
...
I have a membership database which records various options per member
by the use of a Yes/No box.

When I attempt to export a report, including a Yes/No field in XLS
format the Yes/No field is ignored. It does not feature in the report
at all.

Is it possible to inlude a Yes/No field in an XLS export?

Thanks,

Robin Chapple




  #3  
Old October 18th, 2004, 10:01 AM
Robin Chapple
external usenet poster
 
Posts: n/a
Default

No the field is ignored.

I get the previous field and the subsequent field only.


On Sun, 17 Oct 2004 00:52:43 -0400, "Ken Snell [MVP]"
wrote:

You're wanting to export the value of a Yes/No field to an EXCEL
spreadsheet? Such fields will export with value of 0 (if the field has a No
value in it) or -1 (if the field has a Yes value in it). Are you not seeing
this result?


  #4  
Old October 18th, 2004, 03:31 PM
Frank Stone
external usenet poster
 
Posts: n/a
Default

hi,
I think there is something wrong with your export. i
export yes/no fields from access to excel weekly if not
daily.
Regards
Frank

-----Original Message-----
I have a membership database which records various

options per member
by the use of a Yes/No box.

When I attempt to export a report, including a Yes/No

field in XLS
format the Yes/No field is ignored. It does not feature

in the report
at all.

Is it possible to inlude a Yes/No field in an XLS export?

Thanks,

Robin Chapple


.

  #5  
Old October 18th, 2004, 03:31 PM
Frank Stone
external usenet poster
 
Posts: n/a
Default

hi,
I think there is something wrong with your export. i
export yes/no fields from access to excel weekly if not
daily.
Regards
Frank

-----Original Message-----
I have a membership database which records various

options per member
by the use of a Yes/No box.

When I attempt to export a report, including a Yes/No

field in XLS
format the Yes/No field is ignored. It does not feature

in the report
at all.

Is it possible to inlude a Yes/No field in an XLS export?

Thanks,

Robin Chapple


.

  #6  
Old October 18th, 2004, 05:51 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Mon, 18 Oct 2004 19:01:06 +1000, Robin Chapple
wrote:

No the field is ignored.

I get the previous field and the subsequent field only.


Try binding the field to a Textbox on the report that you're exporting
(rather than a Checkbox); format it either -1/0 or Yes/No depending on
how you want the field to appear in Excel. Does this resolve the
issue?

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #7  
Old October 18th, 2004, 05:51 PM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Mon, 18 Oct 2004 19:01:06 +1000, Robin Chapple
wrote:

No the field is ignored.

I get the previous field and the subsequent field only.


Try binding the field to a Textbox on the report that you're exporting
(rather than a Checkbox); format it either -1/0 or Yes/No depending on
how you want the field to appear in Excel. Does this resolve the
issue?

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
  #8  
Old October 18th, 2004, 06:26 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

Robin -

I've confirmed in a test what you're seeing, assuming that you're using File
| Export while in the report's Preview mode... am checking now to see if
there's any workaround other than just exporting the report's RecordSource
query (which does work).

--

Ken Snell
MS ACCESS MVP

"Robin Chapple" wrote in message
...
No the field is ignored.

I get the previous field and the subsequent field only.


On Sun, 17 Oct 2004 00:52:43 -0400, "Ken Snell [MVP]"
wrote:

You're wanting to export the value of a Yes/No field to an EXCEL
spreadsheet? Such fields will export with value of 0 (if the field has a

No
value in it) or -1 (if the field has a Yes value in it). Are you not

seeing
this result?




  #9  
Old October 18th, 2004, 06:26 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

Robin -

I've confirmed in a test what you're seeing, assuming that you're using File
| Export while in the report's Preview mode... am checking now to see if
there's any workaround other than just exporting the report's RecordSource
query (which does work).

--

Ken Snell
MS ACCESS MVP

"Robin Chapple" wrote in message
...
No the field is ignored.

I get the previous field and the subsequent field only.


On Sun, 17 Oct 2004 00:52:43 -0400, "Ken Snell [MVP]"
wrote:

You're wanting to export the value of a Yes/No field to an EXCEL
spreadsheet? Such fields will export with value of 0 (if the field has a

No
value in it) or -1 (if the field has a Yes value in it). Are you not

seeing
this result?




  #10  
Old October 18th, 2004, 11:12 PM
Ken Snell [MVP]
external usenet poster
 
Posts: n/a
Default

Robin -

The only workaround would involve exporting the report's recordsource by
clicking a command button on a form; or by having the report's Close event
do the export via VBA code (would be exported when you close the report).
There does not appear to be a way to make these fields export from the
preview mode.

--

Ken Snell
MS ACCESS MVP

"Ken Snell [MVP]" wrote in message
...
Robin -

I've confirmed in a test what you're seeing, assuming that you're using

File
| Export while in the report's Preview mode... am checking now to see if
there's any workaround other than just exporting the report's RecordSource
query (which does work).

--

Ken Snell
MS ACCESS MVP

"Robin Chapple" wrote in message
...
No the field is ignored.

I get the previous field and the subsequent field only.


On Sun, 17 Oct 2004 00:52:43 -0400, "Ken Snell [MVP]"
wrote:

You're wanting to export the value of a Yes/No field to an EXCEL
spreadsheet? Such fields will export with value of 0 (if the field has

a
No
value in it) or -1 (if the field has a Yes value in it). Are you not

seeing
this result?






 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering on custom date field MED Contacts 3 September 17th, 2004 03:05 PM
ASK Field Behavior Greg Mailmerge 9 July 2nd, 2004 02:44 PM
querrying for a specific field Bill Pratt Running & Setting Up Queries 1 June 11th, 2004 02:37 PM
field manipulation Steve Running & Setting Up Queries 2 May 28th, 2004 03:12 PM
lookup field rvmom New Users 2 May 23rd, 2004 03:06 AM


All times are GMT +1. The time now is 12:26 AM.


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