Hi all, I've been trying to move my database into a public space so everyone in the company has access to the database, and after having some trouble getting certain elements to work, I decided to try building a new database front end around the pre-existing database now held in SP list. I thought that this would be a fairly easy approach, just build out the same code and voila, but this hasn't been the case. As far as I can tell, I've used the same code with no success.
On my Homepage form I have a new record button which works fine, but I also have a textbox/listbox search function which isn't working, and the associated edit record button isn't working either. The code I have in place for all of these is as follows:
ClientSearchBox_AfterUpdate
EditClientResults.Requery
EditClientResults_AfterUpdate
EditRecordButton.Enabled
EditRecordButton_OnClick
DoCmd.OpenForm "EditClientData" , , , "[ClientDatabase.Client]=" & "'" Me.EditClientResults.Column(0) & "'"
I am also using the same criteria in the search query that feeds into the form, which is as follows:
Like "*" & [Forms]![Homepage]![EditClientResults] & "*"
This code and query criteria has worked both before and after the database has been split. Splitting it did come up with some other problems, which is why I thought it would be simpler to build directly from the online data. Any help would be greatly appreciated in this!
On my Homepage form I have a new record button which works fine, but I also have a textbox/listbox search function which isn't working, and the associated edit record button isn't working either. The code I have in place for all of these is as follows:
ClientSearchBox_AfterUpdate
EditClientResults.Requery
EditClientResults_AfterUpdate
EditRecordButton.Enabled
EditRecordButton_OnClick
DoCmd.OpenForm "EditClientData" , , , "[ClientDatabase.Client]=" & "'" Me.EditClientResults.Column(0) & "'"
I am also using the same criteria in the search query that feeds into the form, which is as follows:
Like "*" & [Forms]![Homepage]![EditClientResults] & "*"
This code and query criteria has worked both before and after the database has been split. Splitting it did come up with some other problems, which is why I thought it would be simpler to build directly from the online data. Any help would be greatly appreciated in this!