ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find Record (https://www.excelbanter.com/excel-discussion-misc-queries/43669-find-record.html)

Janis in Minnesota

Find Record
 
Instead of using a Macro to find a record in a lookup, I need to first make
sure the record is not locked. I check this on the before update property
and if it is locked I do not allow the:

DoCmd.FindRecord cboFileNumberLookup.Column(0), acAnywhere, False,
acSearchAll, True, acAll

to execute. This above code does NOT return the Id I need to select the
record with. What is wrong with the syntax?

Any help is greatly appreciated! Thanks!!!

Janis


All times are GMT +1. The time now is 05:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com