TecnicoAlpha
New member
- Local time
- Today, 15:18
- Joined
- Oct 7, 2015
- Messages
- 6
Hello..
Situation :
- Created Customer John Smith with CustomerID number 2 on Customer Form (Done)
- On main Menu, select Customer on ComboBox to set values to : (Done)
TempVars!TempCustomerID
TempVars!TempCustomerName
- Open all forms available always with the same Customer (Done)
- Open all forms with the last data entered for this Customer (PROBLEM):banghead:
Can't figure out how to filter and go to that particular record of that Customer.
Tried a query, but couldn't get OpenForm to open it because the form always saved 2 records, one with the data, other empty (Me.Undo didn't work nor BeforeUpdate event code)
I want something like :
- Customer is selected on combobox on main menu, TempVars are set (Done)
- Open form - new record if record doesn't exist
- Else open existing record for this customer
Situation :
- Created Customer John Smith with CustomerID number 2 on Customer Form (Done)
- On main Menu, select Customer on ComboBox to set values to : (Done)
TempVars!TempCustomerID
TempVars!TempCustomerName
- Open all forms available always with the same Customer (Done)
- Open all forms with the last data entered for this Customer (PROBLEM):banghead:
Can't figure out how to filter and go to that particular record of that Customer.
Tried a query, but couldn't get OpenForm to open it because the form always saved 2 records, one with the data, other empty (Me.Undo didn't work nor BeforeUpdate event code)
I want something like :
- Customer is selected on combobox on main menu, TempVars are set (Done)
- Open form - new record if record doesn't exist
- Else open existing record for this customer
Last edited: