J
Jason Frazer
The form name is "Customers" It has a SQL statement that
refernances 2 tables. Table [Table_Tax_Rate] has 5
fields. [Zip code] which is the primary key, [Inside City
Limits], [Inside City Limits tax rate], [Outside City
Limits] &[Outside City Limits tax rate]. Table
[Table_Customer] has [Zipcode], [incitylimits],
[Customer_Tax Rate] "incitylimits" is a pickbox field.
What I need this to do is the follow:
When I click on button "Update tax" It would need to run a
VB routine that will look at the zip code in field
[Zipcode] and look in the table [Table_Tax_Rate] and go to
the record with that zipcode and then go to field [Inside
City Limits tax rate] if [incitylimits] is checked. If
[incitylimits] is not checked go to [Outside City Limits
tax rate] and set that value to [Customer_Tax Rate]. How
can I do this?
Thanks for your time and help
Jason Frazer
refernances 2 tables. Table [Table_Tax_Rate] has 5
fields. [Zip code] which is the primary key, [Inside City
Limits], [Inside City Limits tax rate], [Outside City
Limits] &[Outside City Limits tax rate]. Table
[Table_Customer] has [Zipcode], [incitylimits],
[Customer_Tax Rate] "incitylimits" is a pickbox field.
What I need this to do is the follow:
When I click on button "Update tax" It would need to run a
VB routine that will look at the zip code in field
[Zipcode] and look in the table [Table_Tax_Rate] and go to
the record with that zipcode and then go to field [Inside
City Limits tax rate] if [incitylimits] is checked. If
[incitylimits] is not checked go to [Outside City Limits
tax rate] and set that value to [Customer_Tax Rate]. How
can I do this?
Thanks for your time and help
Jason Frazer