JD
|
| Posted: 05/23/2003, 1:17 PM |
|
I have built an editable grid page in my application using the wizard. I have the grid to allow me to insert 3 new fields at the end. If I only use 2 of the 3 records, the 3rd record gets inserted as a bleank record.
Any idea on how to not get the empty record to insert?
|
|
|
 |
Dave
|
| Posted: 05/29/2003, 7:39 AM |
|
I am not sure if this will answer you question, but when I was having a problem with this, it was because I was using a default value in one of the fields. This can be as simple as a userid or a date that you try to auto populate.
I was able to work around this somewhat by using a "Custom Insert" and "Custom Update". If you enter the wizard, you'll see a list of parameters and you can set the default for each one. The upside of this, if they don't enter any data into that third field, it will not try to summit the data to the database, but, the data will not be displayed on the row when the users does their update.
6 of one, half dozen of another.
Hope this helps,
Dave
|
|
|
 |
|