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"
 

Some videos you may like

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Watch MrExcel Video

Forum statistics

Threads
1,123,324
Messages
5,600,956
Members
414,417
Latest member
Nobu

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
Top