Error-Invalid variant operation since upgrade to 7.4.2
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
Error-Invalid variant operation since upgrade to 7.4.2
I just updated TextPipe Pro from 7.0.something to 7.4.2 and I am getting an "Error-Invalid variant operation" which I did not get with previous version.
The filter is getting data out of an Access DB with an SQL statement in the trial run area.
I could solve the problem by changing
SELECT T.Desc FROM Tasks T;
To
SELECT left(T.Desc,1000) FROM Tasks T ;
Any idea what the reason could be?
I may have to update a large number of filters if I go for the upgrade.
Regards,
Christian
The filter is getting data out of an Access DB with an SQL statement in the trial run area.
I could solve the problem by changing
SELECT T.Desc FROM Tasks T;
To
SELECT left(T.Desc,1000) FROM Tasks T ;
Any idea what the reason could be?
I may have to update a large number of filters if I go for the upgrade.
Regards,
Christian
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
Error-Invalid variant operation
TextPipe current version: 7.6.3
Sorry had other priorities. Finally here is an answer on your question: the field is a memo field.
I come back on it because there is another odd problem with this type of data. Besides the "Error-Invalid variant operation" problem, if I use my workaround it will work as long as the data is not more than 255 characters else I get another error unless I limit to left(Myfield,255).
If I put more than 255 than the data is cut anyway and worse the rest of the data (Yes the following rows from the table) is not retrieved. Processing stops here and no warning or error is issued.
Christian
Sorry had other priorities. Finally here is an answer on your question: the field is a memo field.
I come back on it because there is another odd problem with this type of data. Besides the "Error-Invalid variant operation" problem, if I use my workaround it will work as long as the data is not more than 255 characters else I get another error unless I limit to left(Myfield,255).
If I put more than 255 than the data is cut anyway and worse the rest of the data (Yes the following rows from the table) is not retrieved. Processing stops here and no warning or error is issued.
Christian
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
In the meantime I found the following (clumpsy) workaround:
instead of using left(MyField, 500)
use:
mid(MyField,1,250),
mid(MyField,251,500)
(add more if needed)
And then use a filter to put the separate fields back in one field by restricting on those fields and removing the field delimiters and text qualifiers if necessary.
That solves my problem for now but it would be nice to be able to retrieve long memo fields at once.
Best regards,
Christian
instead of using left(MyField, 500)
use:
mid(MyField,1,250),
mid(MyField,251,500)
(add more if needed)
And then use a filter to put the separate fields back in one field by restricting on those fields and removing the field delimiters and text qualifiers if necessary.
That solves my problem for now but it would be nice to be able to retrieve long memo fields at once.
Best regards,
Christian
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
-
- Posts: 11
- Joined: Sun Nov 02, 2003 4:36 am
- Location: Brussels
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact: