cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with a link field

Former Member
0 Kudos

Hi,

I've added a formatted search to a link field. This formatted search is executed when you add a picture to another field. We want this field to show the picture destination folder with the name of the picture.

The problem is that the type of the field is ntext and the data we want to introduce is varchar.

How can we show that data in the field?

Thanks,

vane

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vanessa,

This SQL works for me:

DECLARE @path varchar(50)

SELECT @path = cast(T0.BitmapPath as varchar) FROM OADP T0

select cast(@path + $[OITM.U_FieldName] as ntext(16))

Regards,

Ibai Peñ

Former Member
0 Kudos

Hi,

I've tried with the SQL that you have suggested but it continues the same. But I've tried it in another field and it works correctly,why is this?

Thanks

Former Member
0 Kudos

Link type userfields use to have a bug.

To assign the formatted search you should have a User Field focused. If not, the formatted search is not well created, and gives strange errors.

Hope helps,

Ibai Peñ

Former Member
0 Kudos

Thanks, now it works correctly

Answers (0)