Tienes que limpiar el combo para que no te de el error, eso es que pierde la relacion con el combo
yo uso el combo asi
ColumnCount 5
ColumnWidths 190,40,190,80,100
RowSource clientes.nombre, codcli, domicilio, telefono1,rif
RowSourceType 6 - Fields
en el InteractiveChange agarro los valores asi
DODEFAULT()
thisform.framey1.page2.mnombre.Value=ALLTRIM(thisform.framey1.page2.mcliente.ListItem(thisform.framey1.page2.mcliente.ListItemId,1))
thisform.framey1.page2.mdomicilio.Value=ALLTRIM(thisform.framey1.page2.mcliente.ListItem(thisform.framey1.page2.mcliente.ListItemId,3))
thisform.framey1.page2.mtelefono.Value=ALLTRIM(thisform.framey1.page2.mcliente.ListItem(thisform.framey1.page2.mcliente.ListItemId,4))
thisform.framey1.page2.mrif.Value=ALLTRIM(thisform.framey1.page2.mcliente.ListItem(thisform.framey1.page2.mcliente.ListItemId,5))
thisform.Refresh
cuando salgo de la forma blanqueo los combos asi ponlo en tu boton de cerrar
pb_cerrar click()
WITH thisform.framey1.page1
FOR I =1 TO .ControlCount
IF LEFT(.CONTROLS(I).BASECLASS,5)='Combo'
.CONTROLS(I).rowsource=""
ENDIF
ENDFOR
ENDWITH
*
WITH thisform.framey1.page2
FOR I =1 TO .ControlCount
IF LEFT(.CONTROLS(I).BASECLASS,5)='Combo'
.CONTROLS(I).rowsource=""
ENDIF
ENDFOR
ENDWITH
*
DODEFAULT()
Bueno aqui porque uso varios frames dentro de la forma
Con esto se me quito el problema de Cannot access the selected table