![]() |
| |||||||
| Registrarse | Preguntas Frecuentes | Lista de Foreros | Calendario | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
![]() |
| | LinkBack | Herramientas | Desplegado |
| |||
| Hola todos: Tengo el siguiente código de Access 2003 que no funciona en Access 2000 (lamebntablemente la BD ha de ser en 2000), el cual copio a continuación: Function apEnableShift() On Error GoTo errEnableShift Dim db As Database Dim prop As Property Const conPropNotFound = 3270 Set db = CurrentDb() db.Properties("AllowByPassKey") = True Exit Function errEnableShift: If Err = conPropNotFound Then Set prop = db.CreateProperty("AllowByPassKey", _ dbBoolean, True) db.Properties.Append prop Resume Next Else MsgBox Err.Number & " / " & Err.Description, vbInformation + vbOKOnly, "A V I S O" Exit Function End If End Function El problema parece ser que el A 2000 bno reconoce el tipo de dato 'Database' ¿alguien sería tan amable de ofrecerme una solución para el Access 2000?. Gracias a todos de antemano. |
| | ||||
| ||||
| |
![]() |
| Herramientas | |
| Desplegado | |
| |
Temas Similares | ||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Pasar codigo java a vb | Daniel Pozzi | Newsgroup microsoft.public.es.vb | 9 | 07-02-2008 10:41:09 |
| Abrir base Access 2000 con código VB: problemas | marjan | Newsgroup microsoft.public.es.access | 8 | 14-01-2008 04:55:29 |
| Pasar de ventana activa a inactiva por codigo | Ignasi Rodriguez | Newsgroup microsoft.public.es.asp | 5 | 06-03-2007 16:03:31 |
| Pasar código a C# | Ivan Goncalves Sanchez -SICO | Newsgroup microsoft.public.es.dotnet.framework | 6 | 23-01-2007 10:22:52 |
| Pasar código C++ a Java automáticamente | Vicente Segura | Newsgroup es.comp.lenguajes.c++ | 0 | 22-07-2004 15:09:21 |