D
David
How could you retrieve only certain records from a table that have a certain
value in a field?
I have got a table that I am trying to use as a master for other reports and
forms, the name of the table is "vehinfo" , it has 10 fields, the only 2
fields that I need to use on this form is "veh" and "type"
the "veh" is a number that identifies the vehicle
the "type" is a number that denotes if it uses diesel(uses the number "1" to
show it uses diesel) or gas(uses the number "2" to show that it uses
gasoline)
The form will have 4 textboxes linked to a table"onroad"
1 textbox will be the date(I can figured that one)
1 textbox will be the gallons used(data entry)
1 textbox will be the cost(data entry)
1 textbox will be the vehicle number
what I am trying to do is to retrieve only the records that have the value
of "1" in the "type" field along with the"veh" fields value
Is this possible and if so ,how?
thanks in advance
David
value in a field?
I have got a table that I am trying to use as a master for other reports and
forms, the name of the table is "vehinfo" , it has 10 fields, the only 2
fields that I need to use on this form is "veh" and "type"
the "veh" is a number that identifies the vehicle
the "type" is a number that denotes if it uses diesel(uses the number "1" to
show it uses diesel) or gas(uses the number "2" to show that it uses
gasoline)
The form will have 4 textboxes linked to a table"onroad"
1 textbox will be the date(I can figured that one)
1 textbox will be the gallons used(data entry)
1 textbox will be the cost(data entry)
1 textbox will be the vehicle number
what I am trying to do is to retrieve only the records that have the value
of "1" in the "type" field along with the"veh" fields value
Is this possible and if so ,how?
thanks in advance
David