S
Samora
Hello everyone
I have a table named TGenConsultaswith 3 fields
Numero Numeric
Data Date/Time Primary Key
Obs Memo
the field Numero is obtained from a Combobox based on a
Query that gives me the Number so i can store it in my table
Plus, I want that after i update my combobox, on my form
appears all the records that the field Number is equal to
the value i put on my Combobox.
At this moment i couldn't get this goal.
I think this will work like an SQL statement (Select * from
TGenConsultas WHERE Number = ComboBox.Value) something like
that i guess. i don't know quiet clear the sintax .
The fact that i have the field Data as primary Key ensures
to me that to that specific Number i will have no
duplicates and they will appear in ascending order as i
want to.
My form is a continuous form. Is this a good aprroach? Or
is better to make a subform? For the purpose i want i think
the continuous will be better, but i don't mind to change
it to subform , regarding the memo field.
So, on first stage i want that all the records that are
equal to the value on my combobox appear. (my combobox will
work as a filter) and after that, i can append more records
on my table filling the fields for that specific Number on
my form.
Is this possible?
Could someone help me?
I would aprreciate very much.
Thanks in advance
Best regards
I have a table named TGenConsultaswith 3 fields
Numero Numeric
Data Date/Time Primary Key
Obs Memo
the field Numero is obtained from a Combobox based on a
Query that gives me the Number so i can store it in my table
Plus, I want that after i update my combobox, on my form
appears all the records that the field Number is equal to
the value i put on my Combobox.
At this moment i couldn't get this goal.
I think this will work like an SQL statement (Select * from
TGenConsultas WHERE Number = ComboBox.Value) something like
that i guess. i don't know quiet clear the sintax .
The fact that i have the field Data as primary Key ensures
to me that to that specific Number i will have no
duplicates and they will appear in ascending order as i
want to.
My form is a continuous form. Is this a good aprroach? Or
is better to make a subform? For the purpose i want i think
the continuous will be better, but i don't mind to change
it to subform , regarding the memo field.
So, on first stage i want that all the records that are
equal to the value on my combobox appear. (my combobox will
work as a filter) and after that, i can append more records
on my table filling the fields for that specific Number on
my form.
Is this possible?
Could someone help me?
I would aprreciate very much.
Thanks in advance
Best regards