473,327 Members | 2,065 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Column does not allow ( DATAGRID )

Hi all
i have a grid bind with a dataset, and a textbox. i´m using a currency
manager to navigate in the grid, but some times when i press the CM.Addnew
it shows a message in the screen " Column XXXX Does not Allow nulls. do you
....... "

note: what i want is when i press the button ADD it executes de CM.Addnew
and after that i put the Focus in my text box
Sample :
CManager.AddNew()

txtGroupDescription.Focus()

Buttons(False)

How can i turn it of ?....

what i understand so far, is the datagrid who try to submit ...

thks

JSB


Jul 19 '05 #1
1 1956

Hi all
i have a grid bind with a dataset, and a textbox. i´m using a currency
manager to navigate in the grid, but some times when i press the CM.Addnew
it shows a message in the screen " Column XXXX Does not Allow nulls. do
you
...... "

note: what i want is when i press the button ADD it executes de CM.Addnew
and after that i put the Focus in my text box
Sample :
CManager.AddNew()

txtGroupDescription.Focus()

Buttons(False)

How can i turn it of ?....

what i understand so far, is the datagrid who try to submit ...

thks

JSB

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Alpha | last post by:
I retrieve a table with only 2 columns. One is a auto-generated primary key column and the 2nd is a string. When I add a new row to the dataset to be updated back to the database. What should I...
9
by: Paul | last post by:
Hi I have a data grid with a hyperlink column. the colum has numbers like 00001,000002, ect. Just wondering how to get the text value of the cell as tempstring =...
2
by: alan | last post by:
I set the datagrid to be sortable, sort expression = "Column1 asc" but when i click the column name the datagrid doesn't load anything, did i miss sth. on the sorting? thanks a lot!! in...
1
by: Jim | last post by:
Hello, I am creating a windows form application using vb.net 2003 which displays data in a datagrid, and then, if the user wants, I produce a nicely formatted crystal report of the data. The...
10
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than...
0
by: Joao Santa Barbara | last post by:
Hi all i have a grid bind with a dataset, and a textbox. i´m using a currency manager to navigate in the grid, but some times when i press the CM.Addnew it shows a message in the screen " Column...
9
by: Steve | last post by:
How I can remove an AutoGenerated column? I wnat to inlcude the primary key in the resultset for creating some custom LinkButtons, but I don't want it (the PK) displayed in the DataGrid. I tried...
10
by: Nick | last post by:
Hello, Please pardon my ignorance as I'm sure this is easy to do. I have a datagrid where I want to let the user delete columns. I added a context menu to the datagrid that has a delete option....
0
by: =?Utf-8?B?RGF2ZSBTdGV3YXJ0?= | last post by:
I am using a datagridviewcomboboxcolumn in my VB.NET application and I need to allow the user to tab through the datagrid and edit the combobox using the up\down keys, or by typing the value. I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.