silentwolf
Active member
- Local time
- Today, 07:13
- Joined
- Jun 12, 2009
- Messages
- 644
Hi guys,
could not find proper help from the net and maybe some of you guys know what the issue could be and if there is a way to go about it.
Via VBA I am importing CSV Files into my system and for that mater I need a LongText "Memo" field
However I am updating that field via code .. cleaning up that field of not needet Text.
Because of the reduced field size and for further Update queries I would need that field in a Textfield.
So I use following code
All works no errors all good..
But as soon as I create a simple SELECT Query I get that following error
if I click on it or away the Query runs as ment.
There are no FK or any of that ..
The string length of the original data was maximum 300 caracters in length or even less..
It is not critical for me as I can transfer the Table into a new Table but would like to know if any of you guys may have a solution as it would be nicer
to continue with that table rather then create a new one or move Data into a new table.
Cheers
could not find proper help from the net and maybe some of you guys know what the issue could be and if there is a way to go about it.
Via VBA I am importing CSV Files into my system and for that mater I need a LongText "Memo" field
However I am updating that field via code .. cleaning up that field of not needet Text.
Because of the reduced field size and for further Update queries I would need that field in a Textfield.
So I use following code
Code:
Public Sub UpdateFieldSizeToShort(tableName As String)
With CurrentDb
.Execute "ALTER TABLE " & tableName & " ALTER COLUMN Umsatztext TEXT(255)", dbFailOnError
End With
End Sub
All works no errors all good..
But as soon as I create a simple SELECT Query I get that following error
Due to a Value that you placed into a Table Property An invalid condition was detected by Access....
if I click on it or away the Query runs as ment.
There are no FK or any of that ..
The string length of the original data was maximum 300 caracters in length or even less..
It is not critical for me as I can transfer the Table into a new Table but would like to know if any of you guys may have a solution as it would be nicer
to continue with that table rather then create a new one or move Data into a new table.
Cheers