sorry i have to post again, the forum doesn't let me edit my last.
Concerning spucelik's solution, whenever i click an order in the ListBox, it already fills the OrderNo field. I was going to use the click event to extract the 2 fields i need, unit_price and uom_ratio.
But it doesn't seem to...
thank you spucelik.... I didnt know about the "click" event, as the ListBox component properties only shows me GotFocus and LoseFocus, where can i find out more about all the events that each component has?
Thanks for your help.
exactly, whenever i select an order in the list box then the result of the division would be assigned to Precioporunidadd.Text
Thanks for looking into this. I too believe its hard with the (very) limited events.
The screen is order entry (OEITMHSQ)
Private Sub CustomerNo_LoseFocus(AllowLoseFocus As Boolean)
Dim ar As New ERSRecSet
Dim precio As Double
Dim radio As Double
ar.ConnectString = "DRIVER={SQL Server};" & _
"SERVER=" & macForm.ConnInfo.Server & ";UID=" &...
Im using macola vba ide to modify a form. I use the text box "ItemNo" when it loses focus i get 2 numbers from fields from the database (unit_price, uom_ratio) then i make a simple division to display a result on another Text Box created by me.
The problem is, that when there is more than one...
i'm really new using Interbase/Firebird... im developing an application on Delphi 7, using MDO components and everything goes well except that sometimes after i do an update on a table using the application it tells me my username and password are not defined.
im using the defaults SYSDBA...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.