Click here to Skip to main content
15,916,398 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Windows Pin
Christian Graus30-May-07 20:58
protectorChristian Graus30-May-07 20:58 
AnswerRe: Windows Pin
Dave Kreskowiak31-May-07 3:29
mveDave Kreskowiak31-May-07 3:29 
QuestionWindows Info Pin
EagleAmerican1430-May-07 12:27
EagleAmerican1430-May-07 12:27 
AnswerRe: Windows Info Pin
MatrixCoder30-May-07 15:16
MatrixCoder30-May-07 15:16 
AnswerRe: Windows Info Pin
Sonia Gupta30-May-07 18:37
Sonia Gupta30-May-07 18:37 
Questionaccounting sortware vb.net and sql server Pin
skhurams30-May-07 8:46
skhurams30-May-07 8:46 
AnswerRe: accounting sortware vb.net and sql server Pin
Christian Graus30-May-07 11:15
protectorChristian Graus30-May-07 11:15 
QuestionDataSet - Starting from scratch Pin
Quecumber25630-May-07 6:21
Quecumber25630-May-07 6:21 
Hi Everyone:
I have created a data entry form that will allow the user to enter in new data. The form has a binding navigator control, a binding source control, four label controls, four text box controls and one command button.

The first objective I’m trying to accomplish is the scenario where the dataset is empty, and I want to add new information to the dataset.

When I open the form the binding navigator control’s move first, move previous, move next and move last buttons are disabled. Since the dataset is empty this is an expected result. The only enabled buttons on the binding navigator control are; Add New, Save to dataset and Update the database.

Now I am going to add a record. I type in the following record into the following text boxes:
Binding ID - blank <this data="" comes="" from="" the="" autoincrement="" of="" dataset="">
Ordinal – 1
Code – TST1
Name – Record 1

I click on the save to dataset button on the binding navigator control and the binding navigator position item on the navigator control says one, as well as the binding navigator count item. In other words it says I have 1 of 1 record in the dataset.

At this time I expect the move first, move previous, move next and move last buttons to be enabled. They still remain disabled.

Okay, maybe the navigation buttons need more than one record in the dataset. So I add this one:
Binding ID - <blank>
Ordinal – 2
Code – TST2
Name – Record 2

I click on the save to dataset button and I now have 1 of 2 records and the move next and move last buttons on the binding navigator control are enabled. If I click on either the Move Last or Move Next button on the Move Previous and Move Last buttons are enabled and the Move Next and Move Last Buttons are disabled.

Okay, now I’m going to check to see if both the records are present in the dataset. So I click on the Move Previous button and I get this:
Binding ID – 1
Ordinal – 2
Code - <blank>
Name - <blank>

If I press the move next button I get this:
Binding ID – 2
Ordinal – 2
Code – TST2
Name – Record 2

I should have both records in the dataset not just the last one. I also think the move next and move last buttons should be enabled when I added the first record into the dataset.

Does anyone know why this is happening?

Thanks,


Quecumber256
QuestionAssigning an Icon to a File Type. Pin
NANCO30-May-07 6:06
NANCO30-May-07 6:06 
AnswerRe: Assigning an Icon to a File Type. Pin
Johan Hakkesteegt8-Jun-07 3:02
Johan Hakkesteegt8-Jun-07 3:02 
QuestionRefresh Windows/Explorer Pin
NANCO30-May-07 5:58
NANCO30-May-07 5:58 
AnswerRe: Refresh Windows/Explorer Pin
kubben30-May-07 8:59
kubben30-May-07 8:59 
AnswerRe: Refresh Windows/Explorer Pin
bpoojas30-May-07 22:04
bpoojas30-May-07 22:04 
GeneralRe: Refresh Windows/Explorer Pin
kubben31-May-07 1:52
kubben31-May-07 1:52 
QuestionHttpWebRequest Pin
TAREQ F ABUZUHRI30-May-07 5:28
TAREQ F ABUZUHRI30-May-07 5:28 
AnswerDon't crosspost Pin
leckey30-May-07 6:01
leckey30-May-07 6:01 
QuestionManage Compact MS ACCESS from VB.net Pin
charchabil0330-May-07 4:57
charchabil0330-May-07 4:57 
QuestionError when loading application Pin
RoedRunner30-May-07 4:14
RoedRunner30-May-07 4:14 
AnswerRe: Error when loading application Pin
kubben30-May-07 5:22
kubben30-May-07 5:22 
GeneralRe: Error when loading application Pin
RoedRunner30-May-07 6:03
RoedRunner30-May-07 6:03 
QuestionText being cut off in a field using crystal reports Pin
steve_rm30-May-07 3:07
steve_rm30-May-07 3:07 
AnswerRe: Text being cut off in a field using crystal reports Pin
Rupesh Kumar Swami30-May-07 22:11
Rupesh Kumar Swami30-May-07 22:11 
QuestionAccess Compact and Repair Pin
CCG330-May-07 2:35
CCG330-May-07 2:35 
QuestionFolders and Files Permission and Security Pin
FriendlySoluations30-May-07 2:25
FriendlySoluations30-May-07 2:25 
QuestionResetting your Active Directory password Pin
Central_IT30-May-07 1:55
Central_IT30-May-07 1:55 

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.