Russian Wyatt 2 Posted October 18, 2022 Share Posted October 18, 2022 Part of this project is reading an Excel file and moving the data into an XFOCUS database and in this case I need data from a single row so I can do calculations elsewhere.I have my .acx/mas files setup so it starts from row 4 of the spreadsheet (row 3 is a garbage header). As you can see below I really only care about the data in Column B, Row 4. But I don't know how to just read that one line without it reading the rest of the spreadsheet any ideas?--------------SEGNAME=CompanyName, WORKSHEET=Sheet1, HROWS=3, NUMDATA=RAW, $--------------FILENAME=CompanyName,SUFFIX=DIREXCEL,DATASET=CompanyName.xlsx, $ SEGMENT=CompanyName, SEGTYPE=S0, $ FIELDNAME=Garbage, ALIAS=Garbage, USAGE=A200V, ACTUAL=A200V, MISSING=ON, TITLE='Garbage', $ FIELDNAME=UniqueID, ALIAS=UniqueID, USAGE=A10V, ACTUAL=A10V, MISSING=ON, TITLE='UniqueID', $--------------TABLE FILE CompanyNamePRINT UniqueIDON TABLE SET BYDISPLAY ONEND Link to comment Share on other sites More sharing options...
Solution David Beagan Posted October 18, 2022 Solution Share Posted October 18, 2022 Does this get it for you?TABLE FILE CompanyNamePRINT UniqueIDWHERE RECORDLIMIT IS 1ON TABLE SET BYDISPLAY ONEND Link to comment Share on other sites More sharing options...
Russian Wyatt 2 Posted October 18, 2022 Author Share Posted October 18, 2022 Yes that is exactly what I needed! Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now