Microsoft Dynamics Forums Homepage

Forum Home Forum Home > Microsoft Dynamics SL (Solomon) > SL - Customization and Integration
  New Posts New Posts RSS Feed - Handel one special Characters
  FAQ FAQ  Forum Search   Register Register  Login Login


Handel one special Characters

 Post Reply Post Reply
Author
Message
MDawwod View Drop Down
MicrosoftDynamicsForums.com Member
MicrosoftDynamicsForums.com Member


Joined: January 30 2012
Location: Egypt
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote MDawwod Quote  Post ReplyReply Direct Link To This Post Topic: Handel one special Characters
    Posted: October 31 2012 at 4:28am
Hi All,

can you please advice about special Characters in solomon. I have a textbox on screen and i want to prevent user to write "#" char. 

i have tried to remove the char on the "textvox_Chk" event and set it with the new value but it didnt put the new value.

any idea.
Back to Top
Sponsored Links


Back to Top
MDawwod View Drop Down
MicrosoftDynamicsForums.com Member
MicrosoftDynamicsForums.com Member


Joined: January 30 2012
Location: Egypt
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote MDawwod Quote  Post ReplyReply Direct Link To This Post Posted: November 04 2012 at 7:20am
how can i even reset the value of the textbox. when i set the value to empty string in chk event it didnt chanage
Back to Top
TP2012 View Drop Down
MicrosoftDynamicsForums.com Member
MicrosoftDynamicsForums.com Member


Joined: November 19 2012
Status: Offline
Points: 125
Post Options Post Options   Thanks (1) Thanks(1)   Quote TP2012 Quote  Post ReplyReply Direct Link To This Post Posted: November 19 2012 at 10:41am
You can check the ChkStrg value in CHK event and check if the ChkStrg contains invalid characters and then set the reval to 32000.
 
Example
    
IF RTRIM (ChkStrg) = "Invalid Name" THEN
    MsgBox "You have enetered invalid name"
    retval = 32000
END IF
Back to Top
TP2012 View Drop Down
MicrosoftDynamicsForums.com Member
MicrosoftDynamicsForums.com Member


Joined: November 19 2012
Status: Offline
Points: 125
Post Options Post Options   Thanks (0) Thanks(0)   Quote TP2012 Quote  Post ReplyReply Direct Link To This Post Posted: November 20 2012 at 9:26am
You could also change the Mask property to prevent user from entering special characters.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down


Copyright 2013 microsoftdynamicsforums.com. All rights reserved. MicrosoftDynamicsForums.com is an independent non-Microsoft website.
Email: contact AT microsoftdynamicsforums DOT com