Instead of using the following:
Me.RecordSource = "GLMaster_Code"
I want to use an SQL statement instead.
is it something like:
Me.RecordSource = "SELECT * FROM table ORDER BY code;" etc.
Please give me a sample of the complete syntax.
I need to get rid of some of the thousands of stored queries I use in my project.
Thank you.
Steve
Me.RecordSource = "GLMaster_Code"
I want to use an SQL statement instead.
is it something like:
Me.RecordSource = "SELECT * FROM table ORDER BY code;" etc.
Please give me a sample of the complete syntax.
I need to get rid of some of the thousands of stored queries I use in my project.
Thank you.
Steve