Forums

This topic is locked

RTRIM Function

Posted 12 Apr 2002 01:44:58
1
has voted
12 Apr 2002 01:44:58 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 12 Apr 2002 02:03:02
12 Apr 2002 02:03:02 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 12 Apr 2002 02:08:12
12 Apr 2002 02:08:12 lane c replied:
Thanks,
How would I do this in an SQL query?

Thanks,
Lane

Replied 12 Apr 2002 15:33:28
12 Apr 2002 15:33:28 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