
18-Nov-2005, 13:59 PM
|  | Guest | | | | | | | | | | RE: Use of left in a query If you use left 4 on 123 it should return 123
The problem is with the left that you gave us Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=7653
left(len([AssignNo]),4)
Should be without the len Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=7653
left([AssignNo],4)
--
I hope that helped
Good Luck
"JOM" wrote:
> If I want to use left e.g., left(len([AssignNo]),4) for Assignment# 123456
> would get 1234 what if the user entered 123 it returns a null so how so take
> care of that? | 
Support Us! Become a Promoter! | | Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh! | (View-All)
Members who have read this thread : 0
| | There are no names to display. | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Tools | Search | | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is On | | | | » Gurbani Jukebox | Listen to Gurbani while surfing SPN! | » Active Discussions | | | | | | | ਨਾਮਾ Today 06:37 AM 2 Replies, 53 Views | | | | | | | | | | | | | | | | | | | | | | | » Books You Should Read... | | | |