virtualkiwi
01-19-07, 05:51 AM
Someone correct me if I'm wrong, but, with a mivaSQL database (or mySQL for that matter)
to access records you use <mvopenview>
and to write them you use <mvquery>
also, <mvfind> does NOT work?
however in old Xbase syntax, you could mix and match
eg
<mvopen>
<mvfind>
[assign some values]
<mvupdate> or <mvadd>
<mvskip>
[and so on through the database]
What's the most efficient way to do this with a view?
Alternatively - with mivaSQL it is basically just a wrapper on top of xbase data, and the old mvx files are still hiding away so...
is it possible to do a standard
<mvopen name="blablabla" database="somedb.dbf" indexes="a.mvx, b.mvx etc">
on a mivaSQL database without breaking anything (assuming that one makes sure that all the indexes get updated?), or in other words, ignore the SQL bit and just directly mess with the Xbase files, but still be able to use mivaSQL at other times when that's more efficient?
to access records you use <mvopenview>
and to write them you use <mvquery>
also, <mvfind> does NOT work?
however in old Xbase syntax, you could mix and match
eg
<mvopen>
<mvfind>
[assign some values]
<mvupdate> or <mvadd>
<mvskip>
[and so on through the database]
What's the most efficient way to do this with a view?
Alternatively - with mivaSQL it is basically just a wrapper on top of xbase data, and the old mvx files are still hiding away so...
is it possible to do a standard
<mvopen name="blablabla" database="somedb.dbf" indexes="a.mvx, b.mvx etc">
on a mivaSQL database without breaking anything (assuming that one makes sure that all the indexes get updated?), or in other words, ignore the SQL bit and just directly mess with the Xbase files, but still be able to use mivaSQL at other times when that's more efficient?