These tab controls are soooo confusing....

  • Thread starter Thread starter Sarah
  • Start date Start date
S

Sarah

Hi again! Since everyone was so helpful last 2 times around, I have another
question. Thanks for reading.

I have a form called "SaleForm", which has a tab control on it with 2 tabs:
'customer info' and 'unit info'. (I work in a motorcycle dealership & im
making this application for the F&I dept.)

When it opens up, I have it create a new record and assign a new DealID
number, as in Deal #000001, so I bound this form to a table called Deals.

Each tab represents one part of the deal - customer tab shows the customer
information and the unit information respectively. I have a command button
on the customer tab that allows the user to choose a customer that goes with
the sales deal. So when the user clicks the "choose customer" button on the
customer tab, another form pops up that has a list box to choose the
customer.

The problem: I wrote some code to select the customer record, but it gives
an error after I choose the customer record. It says "No Current Record".
Maybe because I'm bound to the Deals table, it can't bring up the customer
record?

If anyone has any insights, I'll post again with my code. THANKS!!

Sarah
 
Back
Top