Hello everyone,
I know this issue has been addressed a few times on the various forums, but I cannot get my embedded browse to refresh. Any suggestions/help will be greatly appreciated.
I have an add/edit form which restricts data entry upon entry. Focus is set to the add new record button. When the form is first loaded you see all the existing records from the table in the embedded browse.
What I am looking for, is when I add a new record on the form, save changes, the embedded browse should refresh, going to the first record in the table and showing ALL records in the table.
I have code at the end of my save changes button OnPush event but it is not working.
What happens now is I click the add new record button, enter the genre type, save changes, focus is brought back to the add new record button ... BUT the embedded browse is not refreshed ... it shows the record I just added, not all records in the table. Please help.
I have attached a sample zip db. To duplicate the issue:
unzip to test directory
open alpha
open db dvd_mgr.adb from directory you unzipped to
press the enter key, or click on add/edit records button, or press ctrl+a
press the enter key, or click on genre type(s) button, or press ctrl+a
you are now on the genre type(s) add/edit form - view only
You will see the embedded browse showing all existing records for the table
the add new record button has focus
press the enter key, or click on the add new record button, or press ctrl+a
focus is now set to the type-in field for the genre type:
type anything, comedy, anime, whatever you want
press the tab or enter key
focus is now on the save changes button
press enter to activate the save changes button
focus is now back to add new record button
HERE IS THE PROBLEM
the embedded browse now just shows the last record you just added
every once in a while, very rare, the embedded browse refreshes and shows all records
I need all records to show in the embedded browse after the save changes button has been activated
If you go to the control panel, forms tab, f_genre, design mode
right click the save changes button, events, on push
at the end of the script you will find:
' redisplay browse, with top row being first record"========================="NOT WORKING
please help :)
Thanks in advance
Cheryl
I know this issue has been addressed a few times on the various forums, but I cannot get my embedded browse to refresh. Any suggestions/help will be greatly appreciated.
I have an add/edit form which restricts data entry upon entry. Focus is set to the add new record button. When the form is first loaded you see all the existing records from the table in the embedded browse.
What I am looking for, is when I add a new record on the form, save changes, the embedded browse should refresh, going to the first record in the table and showing ALL records in the table.
I have code at the end of my save changes button OnPush event but it is not working.
What happens now is I click the add new record button, enter the genre type, save changes, focus is brought back to the add new record button ... BUT the embedded browse is not refreshed ... it shows the record I just added, not all records in the table. Please help.
I have attached a sample zip db. To duplicate the issue:
unzip to test directory
open alpha
open db dvd_mgr.adb from directory you unzipped to
press the enter key, or click on add/edit records button, or press ctrl+a
press the enter key, or click on genre type(s) button, or press ctrl+a
you are now on the genre type(s) add/edit form - view only
You will see the embedded browse showing all existing records for the table
the add new record button has focus
press the enter key, or click on the add new record button, or press ctrl+a
focus is now set to the type-in field for the genre type:
type anything, comedy, anime, whatever you want
press the tab or enter key
focus is now on the save changes button
press enter to activate the save changes button
focus is now back to add new record button
HERE IS THE PROBLEM
the embedded browse now just shows the last record you just added
every once in a while, very rare, the embedded browse refreshes and shows all records
I need all records to show in the embedded browse after the save changes button has been activated
If you go to the control panel, forms tab, f_genre, design mode
right click the save changes button, events, on push
at the end of the script you will find:
' redisplay browse, with top row being first record"========================="NOT WORKING
please help :)
Thanks in advance
Cheryl
Comment