B
Bob Watson
Access 97
I need to do a query by form and understand that
I need to develop a form with "unbound" controls ...
I will be using a comboBox to chose either
30
60
90
180
I suppose that this will really be text (string) data.
Upon clicking OK, I need to cause the query to take
place with a criteria that looks like this:
Field Date
Criteria Date>Date()-Forms![myControlForm]!.[myComboBox.text]
but I would think I really need to convert that [myComboBox.text] to
an integer
What is the proper conversion call?
StrToInt(Forms![myControlForm]!.[myComboBox.text])
????????
One more question ... I only know how to load the comboBox
with a table. Is there a way to just "hand load" this box
using the "Properties"?
TIA,
Bob
I need to do a query by form and understand that
I need to develop a form with "unbound" controls ...
I will be using a comboBox to chose either
30
60
90
180
I suppose that this will really be text (string) data.
Upon clicking OK, I need to cause the query to take
place with a criteria that looks like this:
Field Date
Criteria Date>Date()-Forms![myControlForm]!.[myComboBox.text]
but I would think I really need to convert that [myComboBox.text] to
an integer
What is the proper conversion call?
StrToInt(Forms![myControlForm]!.[myComboBox.text])
????????
One more question ... I only know how to load the comboBox
with a table. Is there a way to just "hand load" this box
using the "Properties"?
TIA,
Bob