Hi
I tried other forms and got no help.
I want to give the users to choose an e-mail address from Outlook AddressBook.
This table can be linked only to the local Outlook, and when the user get the .mde the connection fails.
Is there another way to do it?
Or - how can i link this table...
Me!WorkOrderNumb = DMax("[WorkOrderNumb]" , "WorkOrders", "left([WorkOrderNumb],4)='" & YourYear & "'")
You can write it On the exit button/save button
I'm sure its a problem for a many of us, but couldnt find an answer.
Try to prevent from the user to enter a wrong date like "29/02/07"
and since Access knows better what it means it turns it to "07/02/29".
this expression: IsDate(format("29/02/07","dd/mm/yy")) gives true.
Now to the question...
Dim tbd As TableDef
For Each tbd In CurrentDb.TableDefs
If tbd.Name = "tblONE" Then
DoCmd.RunMacro ("macONE")
Exit For
Else
DoCmd.RunMacro ("macTWO")
Exit For
End If
Next