adi32 Δημοσ. 26 Μαΐου 2003 Δημοσ. 26 Μαΐου 2003 eixa provlima se forma thw access me run-time error 2486 to provlima htan sto DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 to antikatesthsa me to DoCmd.RunCommand acCmdSaveRecord kai lithike to problem kserei kaneis an kai ta 2 kanoun thn idia douleia?
adi32 Δημοσ. 27 Μαΐου 2003 Μέλος Δημοσ. 27 Μαΐου 2003 apo oti exw dei ekei exei ayto Note In Microsoft Access 97, the DoMenuItem method has been replaced by the RunCommand method. The DoMenuItem method is included in this version of Microsoft Access only for compatibility with previous versions. When you run existing Visual Basic code containing a DoMenuItem method, Microsoft Access will display the appropriate menu or toolbar command for Microsoft Access 97. However, unlike the DoMenuItem action in a macro, a DoMenuItem method in Visual Basic code isn't converted to a RunCommand method when you convert a database created in a previous version of Microsoft Access. Some commands from previous versions of Microsoft Access aren't available in Microsoft Access 97, and DoMenuItem methods that run these commands will cause an error when they're executed in Visual Basic. You must edit your Visual Basic code to replace or delete occurrences of such DoMenuItem methods. epeidh h db mou einai metatroph apo access95 to provlima pithanws na einai ayto kai thelw an kserei kaneis na mou epivevaiwsei an ayto DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 mporei na antikatastathei apo ayto DoCmd.RunCommand acCmdSaveRecord ?
Προτεινόμενες αναρτήσεις
Αρχειοθετημένο
Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.