dbTalk Databases Forums  

Odd Character in Query

comp.databases.ms-access comp.databases.ms-access


Discuss Odd Character in Query in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
BobbyDazzler
 
Posts: n/a

Default Odd Character in Query - 01-20-2012 , 06:17 AM






â·– - I have googled and it is the "Unicode Character 'ETHIOPIC SYLLABLE
XYO' (U+2DD6)"

I have created a new query with no tables and just one field "Expr1:
[Forms]![frmAllocateToInvoice]![txtInvoiceID]" frmAllocateToInvoice
contains (amongst other things) a field called txtInvoiceID, the
fields recordsource is =[Forms]![frmInvoiceCash]![txtInvoiceID] Both
forms are open and the actual invoiceID is visible when viewing both
forms. The point of the query is to append records selected in a
subform on frmAllocateToInvoice - into tblinvoicedetail.
tblInvoiceDetail has invoicedetailID as its PK and InvoiceID as FK
(creating the link between Invoice and InvoiceDetail) In order to
append the records into tblInvoiceDetail I need to include the
InvoiceID. Unfortunately instead of getting the InvoiceID I get this
odd character and a Key Violation for each record I am appending. I
have searched for a link between MS Access and this particular
character. Anyone ever solved this?

Reply With Quote
  #2  
Old   
Douglas J Steele
 
Posts: n/a

Default Re: Odd Character in Query - 01-20-2012 , 07:20 AM






Unfortunately, it could be a sign of impending corruption.

See whether you can import the data into another database.

"BobbyDazzler" wrote in message
news:4f0dd758-101c-4c3f-ad58-13e61e1b586b (AT) l16g2000vbl (DOT) googlegroups.com...

â·– - I have googled and it is the "Unicode Character 'ETHIOPIC SYLLABLE
XYO' (U+2DD6)"

I have created a new query with no tables and just one field "Expr1:
[Forms]![frmAllocateToInvoice]![txtInvoiceID]" frmAllocateToInvoice
contains (amongst other things) a field called txtInvoiceID, the
fields recordsource is =[Forms]![frmInvoiceCash]![txtInvoiceID] Both
forms are open and the actual invoiceID is visible when viewing both
forms. The point of the query is to append records selected in a
subform on frmAllocateToInvoice - into tblinvoicedetail.
tblInvoiceDetail has invoicedetailID as its PK and InvoiceID as FK
(creating the link between Invoice and InvoiceDetail) In order to
append the records into tblInvoiceDetail I need to include the
InvoiceID. Unfortunately instead of getting the InvoiceID I get this
odd character and a Key Violation for each record I am appending. I
have searched for a link between MS Access and this particular
character. Anyone ever solved this?

Reply With Quote
  #3  
Old   
BobbyDazzler
 
Posts: n/a

Default Re: Odd Character in Query - 01-20-2012 , 08:48 AM



On Jan 20, 1:20Â*pm, "Douglas J Steele"
<NOSPAM_djsteele (AT) NOSPAM_gmail (DOT) com> wrote:
Quote:
Unfortunately, it could be a sign of impending corruption.

See whether you can import the data into another database.

I imported into a new database and came up against the same problem :-
( a different character though! â·˜

Reply With Quote
  #4  
Old   
BobbyDazzler
 
Posts: n/a

Default Re: Odd Character in Query - 01-21-2012 , 04:50 AM



On Jan 20, 2:48Â*pm, BobbyDazzler <david.a.mitch... (AT) inbox (DOT) com> wrote:
Quote:
On Jan 20, 1:20Â*pm, "Douglas J Steele"

NOSPAM_djsteele (AT) NOSPAM_gmail (DOT) com> wrote:
Unfortunately, it could be a sign of impending corruption.

See whether you can import the data into another database.

I imported into a new database and came up against the same problem :-
( a different character though! Â*â·˜
I have never experienced any corruption in any database before so
don't know what I should be looking for or what to expect. The data
in the underlying table is absolutely correct, it is just when it is
viewed as this particular query that I get the problem

Reply With Quote
  #5  
Old   
Phil
 
Posts: n/a

Default Re: Odd Character in Query - 01-21-2012 , 05:48 AM



On 21/01/2012 10:50:26, BobbyDazzler wrote:
Quote:
On Jan 20, 2:48Â*pm, BobbyDazzler <david.a.mitch... (AT) inbox (DOT) com> wrote:
On Jan 20, 1:20Â*pm, "Douglas J Steele"

NOSPAM_djsteele (AT) NOSPAM_gmail (DOT) com> wrote:
Unfortunately, it could be a sign of impending corruption.

See whether you can import the data into another database.

I imported into a new database and came up against the same problem :-
( a different character though! Â*?

I have never experienced any corruption in any database before so
don't know what I should be looking for or what to expect. The data
in the underlying table is absolutely correct, it is just when it is
viewed as this particular query that I get the problem

Write a function to check every letter in your table that gives an error if
the ASCII value is less than 32 (space) or > 126 (-) You may have to check
for nulls and line feeds and carriage returns as well Phil

Reply With Quote
  #6  
Old   
imb4u@hotmail.nl
 
Posts: n/a

Default Re: Odd Character in Query - 01-21-2012 , 10:00 AM



Hi Bobby,

Does your InvoiceId happen to be of the Integer type instead of the
(necessary) Long type?


Imb.

Reply With Quote
  #7  
Old   
BobbyDazzler
 
Posts: n/a

Default Re: Odd Character in Query - 01-23-2012 , 03:29 AM



On Jan 21, 4:00*pm, im... (AT) hotmail (DOT) nl wrote:
Quote:
Hi Bobby,

Does your InvoiceId happen to be of the Integer type instead of the
(necessary) Long type?

Imb.
Imb, genius! used Clng and it now shows the invoiceID. Thank you so
much!

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.