I have an input form with mostly text boxes. When the user presses submit, most of the fields are inserted into Table A, for example. Some fields are inserted need to be inserted into Table B. Fields cannot be inserted into Table B if Table A has no records (is at eof). I'm having a problem with this because when both tables are empty, I want to insert into table A, then immediately use table A's id field as a foreign key in Table B, but it isn't working. Hope this wasn't too hard to understand. Please help if you can.
Thanks
Rich
Thanks
Rich