Click here to Skip to main content
15,896,474 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Record does not get updated Pin
Richard Deeming2-Jun-16 1:48
mveRichard Deeming2-Jun-16 1:48 
GeneralRe: Record does not get updated Pin
Raabi Anony2-Jun-16 17:02
Raabi Anony2-Jun-16 17:02 
GeneralRe: Record does not get updated Pin
Chris Quinn2-Jun-16 21:06
Chris Quinn2-Jun-16 21:06 
GeneralRe: Record does not get updated Pin
Raabi Anony3-Jun-16 3:02
Raabi Anony3-Jun-16 3:02 
QuestionDynamic SQL generation is not supported against multiple base tables Pin
Raabi Anony29-May-16 17:17
Raabi Anony29-May-16 17:17 
AnswerRe: Dynamic SQL generation is not supported against multiple base tables Pin
Peter Leow29-May-16 17:57
professionalPeter Leow29-May-16 17:57 
GeneralRe: Dynamic SQL generation is not supported against multiple base tables Pin
Raabi Anony29-May-16 18:41
Raabi Anony29-May-16 18:41 
AnswerRe: Dynamic SQL generation is not supported against multiple base tables Pin
Mycroft Holmes29-May-16 22:19
professionalMycroft Holmes29-May-16 22:19 
As the error states you cannot update the 2 tables via a dataadaptor. The inner join is getting data from 2 table and presenting it to you UI.

You need to only update the tblStaffInfo as the campus name is there for display purposes only. I used to do the following:
get an empty datatable record by passing in Select * from tblStaffInfo where 1=-1
Add a record to the enpty datatable
populate it with the updated content from your joined datatable
pass the new record to the dtataadaptor to do the update.

Clumsy and ugly but it gets the job done. This is a learning process for you and will be invaluable in the future giving you a grounding in database manipulation.
Never underestimate the power of human stupidity
RAH

GeneralRe: Dynamic SQL generation is not supported against multiple base tables Pin
Raabi Anony30-May-16 17:35
Raabi Anony30-May-16 17:35 
GeneralRe: Dynamic SQL generation is not supported against multiple base tables Pin
Mycroft Holmes30-May-16 19:08
professionalMycroft Holmes30-May-16 19:08 
GeneralRe: Dynamic SQL generation is not supported against multiple base tables Pin
Raabi Anony31-May-16 17:40
Raabi Anony31-May-16 17:40 
Questionadding values into a vb6 multiple-column list-box manually (in design time) Pin
Member 1250518129-May-16 9:27
Member 1250518129-May-16 9:27 
AnswerRe: adding values into a vb6 multiple-column list-box manually (in design time) Pin
Dave Kreskowiak29-May-16 18:42
mveDave Kreskowiak29-May-16 18:42 
AnswerRe: adding values into a vb6 multiple-column list-box manually (in design time) Pin
CHill601-Jun-16 0:50
mveCHill601-Jun-16 0:50 
QuestionAliasing Fieldnames and adding a calculation Field Pin
Raabi Anony27-May-16 18:10
Raabi Anony27-May-16 18:10 
AnswerRe: Aliasing Fieldnames and adding a calculation Field Pin
CHill6028-May-16 3:19
mveCHill6028-May-16 3:19 
AnswerRe: Aliasing Fieldnames and adding a calculation Field Pin
Dave Kreskowiak28-May-16 3:30
mveDave Kreskowiak28-May-16 3:30 
GeneralRe: Aliasing Fieldnames and adding a calculation Field Pin
Raabi Anony29-May-16 17:11
Raabi Anony29-May-16 17:11 
QuestionExcel view to datagridview migration Pin
Member 476123426-May-16 20:37
Member 476123426-May-16 20:37 
AnswerRe: Excel view to datagridview migration Pin
Richard MacCutchan26-May-16 21:18
mveRichard MacCutchan26-May-16 21:18 
GeneralRe: Excel view to datagridview migration Pin
Member 476123426-May-16 22:19
Member 476123426-May-16 22:19 
GeneralRe: Excel view to datagridview migration Pin
Member 476123426-May-16 22:19
Member 476123426-May-16 22:19 
GeneralRe: Excel view to datagridview migration Pin
Richard MacCutchan26-May-16 22:52
mveRichard MacCutchan26-May-16 22:52 
QuestionWHERE clause of SELECT command Pin
Raabi Anony25-May-16 21:11
Raabi Anony25-May-16 21:11 
AnswerRe: WHERE clause of SELECT command Pin
Raabi Anony25-May-16 21:19
Raabi Anony25-May-16 21:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.