M
Mick
I am running Access2003 and FP2003. I have created a Database Interface using
the Wizard. OK so far, all works fine. I have an update query in the Access
database that takes the value of one data entry field (euros) and after
calculation, puts a value in the second field (pounds). This I do manually by
running the update query after the record is entered into the database. What
I want to do is run the update query automatically so when the record is
entered (using the DIW new.asp) into the database, by adding some SQL to the
new.asp in the database wizard file it performs the update then.
Something like
'Perform Prices update
StrSQL = "UPDATE table1, table1.PricePounds = [PriceEuros]/[1.45] WHERE
(((table1.Autoconverton)=Yes));"
fp_conn.Execute StrSQL
(1.45 is the current rate of conversion, and table1.autoconveton is a field
that allows the convert to take place if value "Yes") The update query in the
Access database runs ok.
Many thanks
Mick
the Wizard. OK so far, all works fine. I have an update query in the Access
database that takes the value of one data entry field (euros) and after
calculation, puts a value in the second field (pounds). This I do manually by
running the update query after the record is entered into the database. What
I want to do is run the update query automatically so when the record is
entered (using the DIW new.asp) into the database, by adding some SQL to the
new.asp in the database wizard file it performs the update then.
Something like
'Perform Prices update
StrSQL = "UPDATE table1, table1.PricePounds = [PriceEuros]/[1.45] WHERE
(((table1.Autoconverton)=Yes));"
fp_conn.Execute StrSQL
(1.45 is the current rate of conversion, and table1.autoconveton is a field
that allows the convert to take place if value "Yes") The update query in the
Access database runs ok.
Many thanks
Mick