Forums

This topic is locked

RTRIM Function

Posted 23 years ago
1
has voted
23 years ago lane c posted:
How do I use the RTRIM function in a query to remove white spaces after text and a field.

Thanks in Advance!
Lane

Replies

Replied 23 years ago
23 years ago Owen Eastwick replied:
Dim MyVar
MyVar = LTrim(" vbscript " ' MyVar contains "vbscript ".
MyVar = RTrim(" vbscript " ' MyVar contains " vbscript".
MyVar = Trim(" vbscript " ' MyVar contains "vbscript".

Download the VBScript Documantation:
msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001169

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 23 years ago
23 years ago lane c replied:
Thanks,
How would I do this in an SQL query?

Thanks,
Lane

Replied 23 years ago
23 years ago Owen Eastwick replied:
Could you explain a bit more about exactly what you are trying to achieve, are you collecting values from a form etc?

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo

Reply to this topic