This document contains code for a click event handler subroutine that retrieves product information from database tables and populates form controls on a user interface. It retrieves data like retail prices, weights, pictures, and calculates total price and costs by summing various components retrieved from the databases and applying current gold and currency exchange rates.
This document contains code for a click event handler subroutine that retrieves product information from database tables and populates form controls on a user interface. It retrieves data like retail prices, weights, pictures, and calculates total price and costs by summing various components retrieved from the databases and applying current gold and currency exchange rates.
This document contains code for a click event handler subroutine that retrieves product information from database tables and populates form controls on a user interface. It retrieves data like retail prices, weights, pictures, and calculates total price and costs by summing various components retrieved from the databases and applying current gold and currency exchange rates.
Dim Weight As Variant Dim cst As Variant Dim stonep As Variant Dim make As Variant Dim dollar As Variant Dim diap1 As Variant Dim diap2 As Variant Dim diap3 As Variant Dim pure As Variant Dim gprice As Variant Dim rate As Variant Dim drate As Variant Dim dprice As Variant Dim pic As String Dim stoneret As Variant Dim makeret As Variant Dim dia1 As Variant Dim dia2 As Variant Dim retwastage As Variant Dim retweight As Variant Dim stonewt As Variant Dim grosswt As Variant Dim caratprice As Variant Dim totprice As Variant Dim dta As Variant
make = 0 End If If IsNull(stonep) = True Then stonep = 0 End If If IsNull(dollar) = True Then dollar = 0 End If If IsNull(diap1) = True Then diap1 = 0 End If If IsNull(diap2) = True Then diap2 = 0 End If If IsNull(diap3) = True Then diap3 = 0 End If If IsNull(pure) = True Then pure = 0 End If rate = DLookup("[24k rawa]", "Gold rate today", "[ID]=5") gprice = pure * rate