U can do it using the follg method
1)Set the Control Source property for the Value field to be (Qty*rate)
2)In the lostfocus event of the text box(rate)ay
Replace Value with Qty*rate
This will update the value field in the table and the 1st point will take care of the calculation.
Hope u have a print button to print the label...In the event which triggers the printing of the label issue a prompt statement..This will bring the printer dialog box..in which the user can select the printing range by specifying the page numbers...
Example
Label form [Label_Name] to printer...
Syntax is
Report Form [ReportName] to File [TextFileName] Ascii
Please note the text file generated may not be aligned properly. So try altering the variables _asciirows & _asciicols.
Before running the report to text file type
_Asciicols=[Value between 100-150 will do]
_Asciirows=[Value...
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.