General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Can I use the following sql statement to create sql view:
>'CREATE SQL VIEW MYVIEW AS SELECT * FROM MYTBL WHERE MYFIELD=Thisform.value'
Nope, do this instead:
CREATE SQL VIEW MYVIEW AS SELECT * FROM MYTBL WHERE MYFIELD= ?lcValue
Then, before you requery() or use the view, you can define lcValue to whateer you'd like. If it doesn't exist, it won't blow either, but it will pop up and ask you for a value.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only