Field problem after converting from97 to 2000

texasalynn

Well-known Member
Joined
May 19, 2002
Messages
8,458
Does any one know if there is an issue with Access 97 database created field lengths not converting in Access 2000?

I have a field that I created in Access 97:
Description: IIf(Left([Invoice History Detail]![HDCUNO],3)="001" And Left([Invoice History Detail]![HDSYCD],1)="1" Or (Left([Invoice History Detail]![HDCUNO],3)="002" And Left([HDSYCD],1)="7"),"RECYCLE","TRASH") & " " & [Invoice History Detail]![HDCTQT] & "-" & [Invoice History Detail]![HDCTSZ] & [Invoice History Detail]![HDVLCD] & " " & IIf([Invoice History Detail]![HDPUDY] Is Null Or Len([Invoice History Detail]![HDPUDY])-CharCount("-",[Invoice History Detail]![HDPUDY])=0,"ON CALL",Len([Invoice History Detail]![HDPUDY])-CharCount("-",[Invoice History Detail]![HDPUDY])) & "/W-" & Left([Invoice History Detail]![HDINVN],6)

But in Access 2000 it breaks. When I try to edit the field only part of it is shown. How do I fix? I'm thinking that it has too many characters so I will have to break it into two or more fields then create another query to add the two fields together. Does anyone have any ideas?

Thanks . . . texasalynn
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Just thought I'd fill in the answer. Access has a limit in queries for individual fields of 512 characters. So that was the problem.

texasalynn
 
Upvote 0

Forum statistics

Threads
1,221,531
Messages
6,160,357
Members
451,642
Latest member
mirofa

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top