Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Dates in different folders Post Reply Post New Topic
Author Message
protosound
Newbie
Newbie


Joined: 06 May 2012
Location: United States
Online Status: Offline
Posts: 1
Quote protosound Replybullet Topic: Dates in different folders
    Posted: 06 May 2012 at 6:41am
I'm trying to build reports from a restaurant POS. The POS creates a different folder for each date early each morning for the previous day's activity, with several *.dbf files in each date's folder. How can I specify a date or date range for a report, and have CR XI access the proper date folder(s) based on the report parameters?Is it possible to tell CR XI to look for other specific data and have it look in each folder for a date or date range for those conditions?

All responses much appreciated!
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 07 May 2012 at 3:52am
Does CR allow you change the directory that the database is in, easily?
are the files produced flat and can then combined to make 1 'big' database?
 
If you want to run for multiple dates, they should be in the same database, preferably in the same table.  This is what CR is expecting, one table with lots of data.
 
can you make something like a stored proc, whereby you pass in the dates, and the procedure goes to the different files and retreives all the data into larger tables which are then returned to CR?
 
I don't know anything about dbf files and their structure, but if you could accomplish either option, CR would be much happier, and your life writing the reports would be much simpler.
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.