Showing the first half of a post/zip code

Hello,
I am attempting to display a postcode (zip) field within crystal but only want to show the first half of it.
Is this possible?
Using the Left(,4) formula I managed to do this but if I have a postcode of B1 2HZ, it will display B1 2, whereas I only want to show B1
Thanks,
WA

FYI
For a split function, the space is the default split value, you need not specify it.
For example,
stringvar x := 'sanjay kodidine';
split(x)[1] will give you 'sanjay' and so will split( x, ' ' )[1].

Similar Messages

  • Printing from Windows = only the first half of documents print

    I'm trying to set up a home print server, to allow access to an HP LaserJet 1005.  It's working OK locally and accessed when printing from another Linux box.  From XP and Vista, however, the first half of multiple-page documents print, and one-page ones don't print at all.  This seems to be the case when using any Windows postscript driver (such as Apple LaserWriter 16/600 PS and HP LaserJet III Postscript Cartridge), and with documents from any program.
    I can't see anything obvious in the logs when set to debug, as far as I understand them, they appear to show all pages printing, including the one-page documents which disappear completely.  Whether this show it to be a Cups problem rather than a Windows one, I'd rather not attempt to say!  This is /var/log/cups/error_log when printing a five-page document, in case there's something useful in it which I have missed.
    /etc/cups/cupsd.conf:
    LogLevel debug
    SystemGroup sys root lp
    # Allow remote access
    Port 631
    Listen /var/run/cups/cups.sock
    # Enable printer sharing and shared printers.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseRemoteProtocols CUPS
    BrowseAddress @LOCAL
    BrowseLocalProtocols CUPS dnssd
    DefaultAuthType Basic
    DefaultEncryption Never
    <Location />
    # Allow shared printing and remote administration...
    Order allow,deny
    Allow all
    Allow From all
    </Location>
    <Location /admin>
    # Allow remote administration...
    Order allow,deny
    Allow all
    Allow From localhost
    Allow From 192.168.1.33
    Allow From 192.168.1.34
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    # Allow remote access to the configuration files...
    Order allow,deny
    Allow all
    Allow From localhost
    Allow From 192.168.1.33
    Allow From 192.168.1.34
    </Location>
    <Policy default>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    <Policy authenticated>
    <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    /etc/cups/printers.conf:
    # Printer configuration file for CUPS v1.4.3
    # Written by cupsd on 2010-04-11 22:13
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer hp-laserjet-1005>
    Info HP LaserJet 1005 series
    Location Presario
    MakeModel HP LaserJet 1005 Series hpijs, 3.10.2, requires proprietary plugin
    DeviceURI hp:/usb/hp_LaserJet_1005_series?serial=0
    State Idle
    StateTime 1271020410
    Type 8425484
    Filter application/vnd.cups-raw 0 -
    Filter application/vnd.cups-postscript 100 foomatic-rip-hplip
    Filter application/vnd.cups-pdf 0 foomatic-rip-hplip
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy retry-job
    </Printer>

    Are you using Samba?
    Firstly a shot in the gloom:  If so, have you tried setting
    use client driver = yes
    in smb.conf, under the printers section? Or if it is yes, try no.
    The other thing you can try is to stop the file being printed/removed from the spool directory(s), and see where the lost stuff gets lost.
    To be honest, I'm not sure where/how you can do this, but I believe that samba will store the file initially in a spool file specified by smb.conf and then Cups will store it somewhere else. Changing the print commands to not print/remove the file from these two points may help identify the loss point.
    Can you plug the printer directly into the windows box and see what happens?

  • How to show the First and Last name of the user instead of user name

    Gurus,
    We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
    Thanks
    Raj
    ---------

    I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
    under wwsec_api
    Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6

  • I tried exporting my project numerous times, but the first half of my exported movie is all black, with the sound. Can I get some help?

    Hi.
    So I decided to a class project, and found this supposedly great app.
    I imported all the pictures, recorded the voices, and inserted the soundtrack via iMovie.
    Then, once I clicked export and looked at the result, the first half of the product was just all black, with the sound
    About a minute within the project (2 minutes total), than the images start appearing.
    So basically, in the final product, the first half of my inserted pictures are all just gone, and is replaced with a black screen.
    Did anybody else encounter this issue?
    Need Help!
    Thanks!
    (the app is updated to the latest as well)

    I'm fairly certain this is a Lion issue, but I'll post in the MacBook forum as well.
    here's that post:
    https://discussions.apple.com/message/17766275#17766275
    In that one I suggested updating to OS X 10.7.3. It fixes a lot of problems, admittedly none of yours specifically.
    I understand your frustration but you should decide upon one thread or another. Since this one has more interest I suggest you stick with this one. Tracking two of them will only add to your headaches.

  • In two page view preview shows the first page on its own

    In two page view preview shows the first page on its own. I have recently downloaded an ebook which has image based tutorials and the pages are in such a way that pages 3 and 4 should be seen next to each other. Preview seems to want to have pages 1 on its own therefore making this rather difficult. Any help on resolving this issue would be appreciated.

    Try selecting the first page, and then from the "Edit" menu select "insert blank page". This should put a blank page at the beginning of the document, shifting all pages down one and putting them in the order you want for your display.

  • Report from SQL Query -Excel format only show the first page

    Hi,
    I have some Reports from SQL Query. In the display options, I choose Excel as default format. The Excel documents only show the first page. If I choose HTML as default format, it shows every rows.
    Please advise on how to have a complete Excel document as HTML format does.
    Thanks a lot.
    Lina Han

    I beleive when you export Oracle reports to Excel it is the Data that is transferred along with Column Names.
    You cannot export the variables defined on the report.
    Hence you will not be able to export the Footer to excel. (Still looking into it will let you know if i find anything interesting)
    Regards,
    Bhushan Salgar

  • My website only shows the bottom half of my page once uploaded to my cPanel direct from Dreamweaver CS5.

    My website only shows the bottom half of my page once uploaded to my cPanel direct from Dreamweaver CS5.
    Please see here www. cmenco .com
    It has a slider and pictures above like the image below:
    This does not show and I have tried everything.
    Help will be appreciated.

    Your slider images in the images folder on your site seem to be corrupted.
    Are you on Godaddy hosting by any chance?

  • PDF only shows the first 4 pages

    I am trying to convert an Excel spreadsheet to .pdf format
    via Adobe's 5-copies-free converter. It seems to work at first
    blush. But when I read the .pdf version, it only shows the first 4
    pages of my Excel spreadsheet. This leaves 75% of my spreadsheet
    unconverted. What gives here????

    Hi, could you clarify, are you using acrobat.com to convert
    your excel file? What is the file size of the file and the version
    of Excel? Thanks.

  • Why is the bar menu of the pdf file, (often) only showing the lower half?

    why is the bar menu of the pdf file, (often) only showing the lower half?

    Pat,
    I attach  a few recent examples
    any thought ?
    sincerely,
    marcel

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • I downloaded a song and i tried to listen to it but it will only play the first half of the song and then skip to the next song.

    I downloaded several songs successfully to my ipod nano (5) but this particular song when i tried to listen to it would play for the first half and then skip to the next song in the playlist like the ipod thought the song was over.

    Did you download from itunes? If not, some websites save the song too quickly or in a format that glitches.
    I've had this problem before with both itunes and non itunes purchases, try deleting it and re-downloading.

  • In the mail list pane, 'From' column shows the first sender in a conversation? How to make that the sender of the last mail in the conversation (by time)?

    The first sender in a conversation can be irrelevant after a conversation grows long and I'm more interested in who's active more recently than whoever started the conversation/thread.

    @duggabe, Not actually. That would just sort "threads/conversations" by date. The From column would continue to show the first sender for each thread/conversation.

  • Media Encoder in settings mode only shows the lower half of screen

    All of a sudden, my Adobe Media Encoder CS4 is only showing the lower half of the screen in Settings mode. This is how it encodes from the .wmv file to .avi. and is therefore corrupting the file. Does anyone know why this has happened?

    This is a known issue related to a recent security update to Windows Media: http://support.microsoft.com/kb/2803821

  • IDoc Error IDocs showing the status 53 "Application Document Posted".

    Hi All
    IDocs showing the status 53 "Application Document Posted". But values are not updated in SAP.
    Plaese sugggest on this,
    Thanks
    Ajit K Barik

    Ajit, there might have been a dump--check in ST22 or a update termination error, check in SM13.
    Either of these you'll have to take help of your ABAP consultant to analyse.
    Regards,
    Raghu.

  • WD ABAP: Reset Table To Show the First Record.

    Hi WebDynpro ABAP Experts,
    Settings of tables allow me to display set of 10 records at a time. If i want to select , say 18th record I use paginator to select & use it. i navigate to next view , do some processing here. When I come back to the previous view, i see that table is still showing the 18th Records.  How can i make this TABLE to show the first 10 records again & we want to achieve this without going back to DB.
    or  in other words we want to call the "FIRST ROW" functionality of Paginator that JUMPS to display the first Ten Row.

    Hi Prash,
    If you used supply function for filling the data to the table means you can use the Invalidate method.
    Before leaving the first view you can call the invalidate method. The invalidate method again calls the supply function and your node as well as table getting refreshed.
    Code for Invalidation :
    node_node1 = wd_context->get_child_node( name = 'NODE1' ).
    elem_node1 = node_node1->get_element( ).
    node_node1->invalidate( ).
    Thanks.

Maybe you are looking for

  • How can I reactivate the Export function in iPhoto '11?

    So, I tried to download a program that would let me export photos directly to Tumblr, and that program didn't seem to do anything when I installed it, but now NOTHING HAPPENS when I click "export."  The usual pop-up window is gone.  Help, please!

  • How do I make a FFT filter fade over time?

    I am trying to apply a FFT filter (underwater shallow) to an audio track, but I want it to gradually fade until we here the original non-filtered audio at the end. I've created a multitrack session, but Show Envelopes does not unclude the FFT filter.

  • Editable column in tree with columns

    Hello, I’m constructing a tree with columns with CL_GUI_COLUMN_TREE class and I want to set one of the columns as text type and editable. ¿Do you know how? If I could do it with another class I would also be glad to try it. Thanks.

  • CA Certificate is not in the server certificate chain...

    Use keytool command to import server certificate. I got this error when running an ldap browser (I downloaded from the Net) to connect to my Active Directory server via SSL. Connecting via non-ssl is successful and I can browse the ldap tree. I'm not

  • Enabling infoobject authorization relevant

    Hi, We are planning to make infoobject  'A' auth relevant in BI system. In process of identifying the risk we have listed out the infoproviders and the security roles which are providing access to these infoprovider. But one doubt is - If that object