Simple in Excel, Hard in Access, referring to other lines

Bill Bisco

Custom User Title
Local time
Today, 17:16
Joined
Mar 27, 2009
Messages
92
Dear all,

I'm trying to replicate a bit of Excel Code in Access, but for the moment I'm stumped.

screenshot264t.jpg


The above code refers to cells in other rows to get its values. Is there any way for Access to do something similarly? If so, how? :confused:

Sincerely,

Bill
 
Hello, How are you trying to manipulate this information is it via a Form/Query/Report?? Above all What exactly do you want to do??
 
So, in the context of a Multiple Items form, perhaps? I believe you may refer to adjacent field on that type of form based on syntax:

Code:
Me.fldName.Value
to refer to those other fields of the current record.

Oh... seems I glanced too quickly. It appears from the Excel example you provided you not only wish to refer to adjacent fields of the same row, you wish to refer to other rows. I have never attempted such with an Access Multiple Items form.
 
Dear all,

Thank you for your replies. I am just providing a simple example of what I'm trying to do. I need to create a new field based on the values of fields in other data rows. I wanted to use Access to do this, and I was curious if there was a method available to do so.

Hope that clarifies,

Bill
 
I need to create a new field based on the values of fields in other data rows.

In a Database Table?

In a Multiple Items Form?

In a Report?

Is the calculate value to be saved? Or for display-only?
 
In a Database table yes.
The Calculated value has to be saved.
 

Users who are viewing this thread

Back
Top Bottom