NomoreSpam4Me@hotmail.com wrote:
[color=blue]
> Hi there, this is my problem.
>
> I have to build a DB to manage the repair of HandHeld computer (HHC)
>
> I have 2 tbls (tblRepair, tblNotice) link with ID. I have a Qry sorting
> info that i need. such as.
>
> company, adress, name client, ... in tbl Repair and
> company, adress, name client, cost, problem... in tbl Notice
>
>
> what i want to do: When i fill up the repair form with, the form
> generate a ID number. (always add 1 when i enter the form)
>
> Now when the company who repairs the HHC, they guys open the form
> Notice, i have a criterias asking wich ID number he want to do a Notice
> for. Lets say he type 1, hit enter, and now the info's from the tbl
> Repair fills the company, adress, name client in tbl Notice.
>
> And he just add the price and what he did on it.
>
> But when i enter data like Date in the Notice form, it changes the ID
> number back to 0 (probably cuz 0 is not use) I wonder why it changes
> it? IS it because it cannot be use again? Cuz when i enter it manually
> there is no problem.
>[/color]
Is it possible that it goes to zero because it is a new record? If so,
open up the form's property sheet, click on the Other tab, and set Cycle
to CurrentRecord, not AllRecords. The default for the ID field may be
0...that's why I suspect a new record is coming into play.