Codeus Posted October 18, 2004 Posted October 18, 2004 Hi, I am trying to relate two tables, one contains stock data and is my 'main table'. The other contains operator details. They are linked by the field 'OperatorName' which is a global field in stock and a regular field in Operators (as there are many individual operator records). The Global operator field in my stock database gets its data from a Get(AccountName)startup script. I am using this relationship to return a value called 'OrderCounter' - a value unique to each Operator. However, when there are no records found in my Stock table, my button - 'SetField (Operators::OrderCounter = Operators::OrderCounter + 1' - doesn't update the counter. This is a pain as I want this to be available at all times. Can anyone suggest a solution to this please? Codeus
-Queue- Posted October 18, 2004 Posted October 18, 2004 I just tested this using a global to text relationship and no records in the parent table. It worked fine. Perhaps your Set Field step is incorrect. You should have no equals sign in it. It should look like Set Field [Operators::OrderCounter; Operators::OrderCounter + 1], the first field being the specified target field and the second, the calculated result.
Ugo DI LUCA Posted November 2, 2004 Posted November 2, 2004 The Global Operator may not be a global field as you intended.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now