Quantcast
Channel: Active questions tagged ampscript - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 359

ampscript lookup does not work when field length of the lookup field is not set

$
0
0

This is my amp script code :

%%[  Var @email  Set @email = Lookup("forgot_password", "email","locale","en-US")]%% %%=v(@email)=%%

The locale field length in the data extension is not set (unlimited).

I am getting an error: The key field has a MAX or unlimited length. Fields with MAX or unlimited length cannot be used as keys

Is there an alternative way to do this without setting the field length? As I need to run the code for different data extension and the field length might not be set in all data extension


Viewing all articles
Browse latest Browse all 359

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>