Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何将整个条目复制为具有下一个自动编号的新条目。例如,如果表格包含交易编号(4)和交易详细信息(a,b,c)。交易详情(a,b,c) 应与新交易编号 (5) 重复。我在论坛中搜索,只有重复的行。帮助我克服这个问题。
我通过在右键单击事件中启用重复菜单解决了这个问题
oForm.EnableMenu("1287", True)
当“右键单击”时,这将给出重复的菜单。它将复制整个条目并创建新条目。我捕获菜单事件并手动增加自动编号。