DougLubeyLouisiana
IS-IT--Management
SCENARIO:
I HAVE A MAIN FORM WITH TWO OBJECTS IN IT:
A TEXT BOX AND A SUBFORM
I ENTER A VALUE INTO THE TEXT BOX AND WANT TO
REFRESH THE SUBFORM BASED ON WHAT I ENTER IN THE
TEXT BOX.
PROBLEMS: THE SUBFORM IS BASED ON A ADO RECORDSET
AND YOU SEE DATA IN IT WHEN IT IS OPEN SEPARETELY
FROM THE MAINFORM.
BUT WHEN i TRY TO REQUERY THE SUBFORM( BUILT FROM A
RECORDSET) THE INFORMATION DOES NOT GET REQUERIED.
textbox_ONEXIT()
SUBFORM.REQUERY
END
I GET NOTHING....
tHIS IS WHAT i TRIED:
**REOPENING THE RECORDSET ON_CURRENT EVENT IN THE
SUBFORM EVENT.... NOTHING
I HAVE A MAIN FORM WITH TWO OBJECTS IN IT:
A TEXT BOX AND A SUBFORM
I ENTER A VALUE INTO THE TEXT BOX AND WANT TO
REFRESH THE SUBFORM BASED ON WHAT I ENTER IN THE
TEXT BOX.
PROBLEMS: THE SUBFORM IS BASED ON A ADO RECORDSET
AND YOU SEE DATA IN IT WHEN IT IS OPEN SEPARETELY
FROM THE MAINFORM.
BUT WHEN i TRY TO REQUERY THE SUBFORM( BUILT FROM A
RECORDSET) THE INFORMATION DOES NOT GET REQUERIED.
textbox_ONEXIT()
SUBFORM.REQUERY
END
I GET NOTHING....
tHIS IS WHAT i TRIED:
**REOPENING THE RECORDSET ON_CURRENT EVENT IN THE
SUBFORM EVENT.... NOTHING