myQuery vs myTable
Posted: Wed 12 Nov 2008 17:34
I'm new to SQL, coming from a using XBase table background.
But I am writing an internet app now and have to use mySQL.
I have started off using myQuery components but recently decided that myTable might be more appropriate. As I understand it, if I make a query with myQuery, and then if anyone else adds a new record (including myself), if I want to see that record then I have to re-establish myQuery active:=false active:=true ... something like that.
Can myTable "see" a new record that someone else adds without doing anything "special"?? A general short advantage/disavantage of myQuery vs myTable would be helpful, if such a link is available.
Thanks in advance,
Bob
But I am writing an internet app now and have to use mySQL.
I have started off using myQuery components but recently decided that myTable might be more appropriate. As I understand it, if I make a query with myQuery, and then if anyone else adds a new record (including myself), if I want to see that record then I have to re-establish myQuery active:=false active:=true ... something like that.
Can myTable "see" a new record that someone else adds without doing anything "special"?? A general short advantage/disavantage of myQuery vs myTable would be helpful, if such a link is available.
Thanks in advance,
Bob