David Emerson
davide at dalyn.co.nz
Wed Jan 29 16:53:00 CST 2003
Quite correct. I checked another form and it worked ok. The problem was that the form was set Allowedits = False. Thanks for the pointer. David At 28/01/03, you wrote: >I'm not sure what the issue actually is, but I can say that I use that same >line in ADP's that have no reference to DAO and it does work as is (using >A2k/SQL 7). So I think you need to look elsewhere for a fix. > >Chris Mackin >Denver Database Consulting, LLC >chris at denverdb.com > > >-----Original Message----- >From: accessd-admin at databaseadvisors.com >[mailto:accessd-admin at databaseadvisors.com]On Behalf Of David Emerson >Sent: Tuesday, January 28, 2003 7:52 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] DAO/ADO docmd Conversion > > >I have the following line in my XP ADP/SQL2K - > > DoCmd.RunCommand acCmdSaveRecord > >When the code is run (from an on enter event of a field) I get a message >saying that the command isn't available now (It worked OK in my A97 >FE/BE). I have a feeling that it is something to do with it being a DOA >command and I need an equivalent ADO constant. If this is correct does >anyone know where I can find a list of these constants? > > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd