Tecnologia, programação e muito Visual FoxPro.

quarta-feira, 8 de junho de 2011

Re: [Access VBA Central] Calculated Field Not Showing Values

 

You can try to put that calculation on form_oncurrent like this:
Me.text1=DLookUp("StockBal","qryStockBalance","MatCode=" & forms!frmMaterialsProfile!frmMaterialsProfileSub.form.MatCode)
Me.repaint 'If necessary


Samuel Surya

-----Original Message-----
From: "chris.gospels" <chris.gospels@yahoo.com>
Sender: AccessVBACentral@yahoogroups.com
Date: Wed, 08 Jun 2011 19:44:41
To: <AccessVBACentral@yahoogroups.com>
Reply-To: AccessVBACentral@yahoogroups.com
Subject: [Access VBA Central] Calculated Field Not Showing Values

Greetings All. I have a calculated field on a subform (continuous form) that fetches the stock balances of spares in a store using this code :=DLookUp("StockBal","qryStockBalance","MatCode=forms!frmMaterialsProfile!frmMaterialsProfileSub.form.MatCode"). On computers running Windows Vista, the values only show when I click on the calculated fields in the subform. However, on systems running Windows XP, the calculated field shows the stock balances for each item. I need assistance on this, please.

_Chris.



[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
.

__,_._,___

Nenhum comentário:

Arquivo do blog