Click here to Skip to main content
15,923,845 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Report in vb 6.0 Pin
ShuklaGirish27-Jun-07 21:12
ShuklaGirish27-Jun-07 21:12 
AnswerRe: Crystal Report in vb 6.0 Pin
Vimalsoft(Pty) Ltd27-Jun-07 21:44
professionalVimalsoft(Pty) Ltd27-Jun-07 21:44 
GeneralRe: Crystal Report in vb 6.0 Pin
ShuklaGirish27-Jun-07 22:46
ShuklaGirish27-Jun-07 22:46 
QuestionTTS Pin
Babbal27-Jun-07 21:08
Babbal27-Jun-07 21:08 
AnswerRe: TTS Pin
Vasudevan Deepak Kumar27-Jun-07 21:49
Vasudevan Deepak Kumar27-Jun-07 21:49 
QuestionHow can i unBind the Textbox control Programtically Pin
Vimalsoft(Pty) Ltd27-Jun-07 20:58
professionalVimalsoft(Pty) Ltd27-Jun-07 20:58 
AnswerRe: How can i unBind the Textbox control Programtically Pin
Mycroft Holmes27-Jun-07 22:34
professionalMycroft Holmes27-Jun-07 22:34 
GeneralRe: How can i unBind the Textbox control Programtically Pin
Vimalsoft(Pty) Ltd28-Jun-07 0:30
professionalVimalsoft(Pty) Ltd28-Jun-07 0:30 
Thank you my man, but what i thought it would do, it did not do it for me, mybe i should explain the situation to you.

i have a form with add button
<br />
            Locktextboxes()<br />
            DisableNavigation()<br />
            cmdsave.Enabled = False<br />
            cmdadd.Text = "&Add"<br />
            Rejectchanges()<br />
            mblnAdding = False<br />

and save Save,we will just ignore other buttons because they serve their purpose well.As yuo can see the code, i lock the text boxes,Disable navigation in the dataset and the save buttons and more as you can see.
Now when i click on Add it should clear the textboxes and allow a user to Capture Details. not there is a case where one of the Text boxes need to be skipped and that means null value in an interger or Decimal field in my Table. now when i skip those text boxes and TAB to another textbox, it populates it with a value automatically from a Dataset, and that will be the value of the first Record.

this is my form load
<br />
 Locktextboxes()<br />
 SqlDataAdapter1.Fill(DataSet11)<br />
<br />

i make it safe by locking the textboxes and navigate.


And the Second question, from the above Question, i have Decimal Fields and integer Fields in my table accepting input from my vb.net form. So when the text box is being skipped, how do i save a Null value to the dataset. so i can update it later. dont get me wrong i know how to update, i just need to know the logic of how you make a integer filed or Decimal field Accept a Null value. Please Supply code Example.

Thanks

Vuyiswa

Questiondsn creation Pin
Sonia Gupta27-Jun-07 20:27
Sonia Gupta27-Jun-07 20:27 
AnswerRe: dsn creation Pin
Vimalsoft(Pty) Ltd27-Jun-07 21:17
professionalVimalsoft(Pty) Ltd27-Jun-07 21:17 
AnswerRe: dsn creation Pin
Dave Kreskowiak28-Jun-07 4:41
mveDave Kreskowiak28-Jun-07 4:41 
Questionhelp... Pin
jhyn27-Jun-07 20:26
jhyn27-Jun-07 20:26 
AnswerRe: help... Pin
Sathesh Sakthivel27-Jun-07 20:29
Sathesh Sakthivel27-Jun-07 20:29 
QuestionRe: help... Pin
CPallini27-Jun-07 20:34
mveCPallini27-Jun-07 20:34 
Questionset font Size Pin
Rupesh Kumar Swami27-Jun-07 19:57
Rupesh Kumar Swami27-Jun-07 19:57 
AnswerRe: set font Size Pin
CPallini27-Jun-07 20:40
mveCPallini27-Jun-07 20:40 
Questionhow to use VSS--suggest the best approach Pin
pashitech27-Jun-07 19:48
pashitech27-Jun-07 19:48 
AnswerRe: how to use VSS--suggest the best approach Pin
koolprasad200327-Jun-07 20:41
professionalkoolprasad200327-Jun-07 20:41 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:56
pashitech27-Jun-07 20:56 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:57
pashitech27-Jun-07 20:57 
GeneralRe: how to use VSS--suggest the best approach Pin
pashitech27-Jun-07 20:57
pashitech27-Jun-07 20:57 
QuestionHow to control mouse and keyboard? Pin
re infecta27-Jun-07 19:47
re infecta27-Jun-07 19:47 
AnswerRe: How to control mouse and keyboard? Pin
Dave Kreskowiak28-Jun-07 4:38
mveDave Kreskowiak28-Jun-07 4:38 
QuestionName 'Listbox1' is not declared error Pin
jasontor27-Jun-07 19:47
jasontor27-Jun-07 19:47 
AnswerRe: Name 'Listbox1' is not declared error Pin
CPallini27-Jun-07 21:58
mveCPallini27-Jun-07 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.