C
Cindy
GRRR!!! I am trying to put a combo box button on a form to find the PO
Number to update. I have used the wizard to put an embedded macro in After
Update and I have done it manually but I cannot get it to work. The combo
box shows the PO Numbers from the table but when I click on the one I want I
get an error box that says:
Expected: identifier and then the macro error box showing error 2950.
In the macro I have 'Search for Record' and First and in the Where I have
="[PO Number]= " & Str(Nz([Screen].[ActiveControl],0))
Record source is the Purchase Order Table where the field PO Number is. I
have tried it with both just the table listed and with a Select statement.
I have made sure the locations are trusted, I am the administrator and I
have enabled Macros.
I have used this same combo box in another database I designed that works
perfectly on the same computer.
So what in the world can I be overlooking or doing wrong?
Thanks for any help. Cindy
Number to update. I have used the wizard to put an embedded macro in After
Update and I have done it manually but I cannot get it to work. The combo
box shows the PO Numbers from the table but when I click on the one I want I
get an error box that says:
Expected: identifier and then the macro error box showing error 2950.
In the macro I have 'Search for Record' and First and in the Where I have
="[PO Number]= " & Str(Nz([Screen].[ActiveControl],0))
Record source is the Purchase Order Table where the field PO Number is. I
have tried it with both just the table listed and with a Select statement.
I have made sure the locations are trusted, I am the administrator and I
have enabled Macros.
I have used this same combo box in another database I designed that works
perfectly on the same computer.
So what in the world can I be overlooking or doing wrong?
Thanks for any help. Cindy