B
Bernd Smits
Hi,
I find myself in the following situation:
I need a database that fill up a table with patients of an cardiologist an
their related personal informations. So first I created a form with a
textbox and a button that (the button) allows me to save the value (number
of patient) that I wrote, in the textbox, in a associated table. At the same
time the button opens me a new form where I, in different textbox (fields)
can write the personal information associated on the same patient number
that I inserted in the first form. Now I've met some problems:
1) When I open the first form for first time everything is going well, but
the second time that I open it, in the field of the textbox I found the
value that I inserted before, associated to the first record in the table,
but I would like that the field is empty, pointed to the second record in
the table;
2) When I insert, for instance, the patient number 2, and before I just
inserted patient number 1, when I click on the button the form that opens
has field "patient number" on 1 and I in this case would like to find it
with 2 like the number of the patient that I last inserted.
How can I resolve this problems?
Thanks
Bernd
I find myself in the following situation:
I need a database that fill up a table with patients of an cardiologist an
their related personal informations. So first I created a form with a
textbox and a button that (the button) allows me to save the value (number
of patient) that I wrote, in the textbox, in a associated table. At the same
time the button opens me a new form where I, in different textbox (fields)
can write the personal information associated on the same patient number
that I inserted in the first form. Now I've met some problems:
1) When I open the first form for first time everything is going well, but
the second time that I open it, in the field of the textbox I found the
value that I inserted before, associated to the first record in the table,
but I would like that the field is empty, pointed to the second record in
the table;
2) When I insert, for instance, the patient number 2, and before I just
inserted patient number 1, when I click on the button the form that opens
has field "patient number" on 1 and I in this case would like to find it
with 2 like the number of the patient that I last inserted.
How can I resolve this problems?
Thanks
Bernd