Oh, I see what you want to do finally.
if u want to work with so many kinds of data destination, the only way is to generate data one by one in a loop.
Hi, gthandle,
Try to write your myfunction in access mdb file, then use the SQL:
"UPDATE [table] set field1 = myfunction()"
if you want to pass a field, the SQL should be:
"UPDATE [table] set field1 = myfunction([field1])"
cos your function, myfunction, is a VB function, not a database's function.
in the case of MS Access, the function is stored in the access file, so when you execute the SQL, the function can be found.
to make it work, change your SQL to:
"UPDATE [table] set field1 = '" & myfunction()...
I think Sybase provides a good solution for your case.
you can place SQL Anywhere in each restaurant to gather the local data, then use SQL Remote or Replication Server to transfer these data to the center.
you will find some cases at Sybase's(www.sybase.com).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.