Hi Rollasoc,
It looks to me like what you want is something like:
DS_Customer.CustomerTableRow newRow =
dsCustomer.CustomerTable.NewCustomerTableRow(); // create a new row
// populate the row
newRow.CustomerName = customerName;
newRow.CustomerAddress = customerAddress;
newRow.CustomerPhone = customerPhone;
// add the row to the table
dsCustomer.CustomerTable.AddCustomerTableRow(newRow);
newRow.CustomerNext will equal the new value from the auto increment field.
Hope that helps.
> Hi,
>
[quoted text clipped - 19 lines]
> Rollasoc
> PS This is a single user application.

Signature
Colin R. R. Johnson
C&J Solutions
- Remember, everything you see on screen is but ones and zeroes.
Rollasoc - 16 Dec 2004 13:00 GMT
Colin,
Unfortunatly, there is no default constructor to use.
Rollasoc
> Hi Rollasoc,
>
[quoted text clipped - 38 lines]
> > Rollasoc
> > PS This is a single user application.
Rollasoc - 16 Dec 2004 15:25 GMT
Colin,
Ok, I've sussed it now.... Your code was correct, I was just having a
blonde moment and clicked on the wrong function in the inttelisense.
Thank you very much..
Rollasoc
> Colin,
>
[quoted text clipped - 49 lines]
> > > Rollasoc
> > > PS This is a single user application.