Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
309 views
in Technique[技术] by (71.8m points)

crosstab - Using Text in a Cross tab query or other options

I have created a small database for our golf club and I am trying to reproduce a "excel" like spreadsheet instead of duplicating the data in 2 formats. I have a query that has

TeeTime (time Format) Fullname (Text) Course (Text) EventDate (Date)

Example Date: 7.00am John Smith Pelican Waters 30/6/2020 7.00am Roger Moore Pelican Waters 30/6/2020 7.00am Peter Day Pelican Waters 30/6/2020 7.00am Alan Scott Pelican Waters 30/6/2020 7.06am Dustbin Johnson Pelican Waters 30/6/2020 7.06am Long Daly Pelican Waters 30/6/2020 7.06am Lion Woods Pelican Waters 30/6/2020 7.06am Greg Normal Pelican Waters 30/6/2020

this is all coming from a temp_table I created to get the data all together as the original query gets all the information from a number of queries and tables

I am trying to get a report to have the look of

7.00am John Smith Roger Moore Peter Day Alan Scott
7.06am Dustbin Johnson Long Daly Lion Woods Greg Normal

Any suggestions Thanks


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...