sql input question

CSTUBBS

New Member
Joined
Feb 13, 2007
Messages
45
This is probably a really stupid question . Mainly because I know NOTHING about SQL


I'm trying to determine exactly what forms are available in a sql database. I dont know how to open the database, but some programing has been written that recovers some records from the database. Is there a way I can modify the s= statement below, that will list out all forms in the database.

s = "SELECT unit.unt_tagnum, ""group"".grp_meanavg, ""group"".grp_stdavg, " & _
"unit.unt_x, unit.unt_y, unit.unt_zz, ""group"".grp_stopdt, ""group"".grp_npieces, material.mtl_name " & _
"FROM unit, ""group"", ""load"", material WHERE material.mtl_pk = ""group"".grp_mtlfk AND " & _
"unit.unt_grpfk = ""group"".grp_pk AND ""group"".grp_lodfk = ""load"".lod_grpfk " & _
"AND ""load"".lod_num = '" & loadname & "' AND ""load"".lod_date = " & loddate & _
" AND ""load"".lod_pk = '" & loadPK & "'ORDER BY unit.unt_tagnum"
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,463
Messages
6,124,965
Members
449,201
Latest member
Jamil ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top