Hi, I've been asked to give users the ability to copy a record to a new record - sounds easy enough I know, and I've definitely done this before. The fact that I have to actually duplicate information in four different tables doesn't even phase me, but I am rather struggling with the fact that I don't seem to be able to duplicate the records in the main table.
I've writen the SQL using INSERT INTO (as I have before), but it won't work. After bashing head on wall with the problem for about two hours, I decided that I'd just give them the facility to copy the main table only for the moment as a stop gap and figure the rest out after. So I went to my test version and put on a button using the wizard to select [Record Operations] and [Duplicate record], simple huh? I thought so, only when I try it, the record won't duplicate, it won't give the next projectid (which is an autonumber). Anyone got any ideas why it would do this and how I overcome it?
Thanks.:banghead:
I've writen the SQL using INSERT INTO (as I have before), but it won't work. After bashing head on wall with the problem for about two hours, I decided that I'd just give them the facility to copy the main table only for the moment as a stop gap and figure the rest out after. So I went to my test version and put on a button using the wizard to select [Record Operations] and [Duplicate record], simple huh? I thought so, only when I try it, the record won't duplicate, it won't give the next projectid (which is an autonumber). Anyone got any ideas why it would do this and how I overcome it?
Thanks.:banghead: