Question : Is there any way to max character length of record source property on a form?

I am trying to set the record source propery of a form with SQL that is generated based on input into the form.  Problem is the SQL is 618 to 620 characters long and it appears that Access truncates it at 255.  Can I change the max character length of record source property on a form?  Or does anybody have a suggestion to work around this?  

Answer : Is there any way to max character length of record source property on a form?

this part

(dbo.[user].tbluserID = " & myUser & ") "

you declared myUser as string, if tblUserId is a string, it should be


(dbo.[user].tbluserID = '" & myUser & "') "
Random Solutions  
 
programming4us programming4us