Question : Dates Don't show up when Output to Excel

I have a query in Access that I export to an excel spreadsheet using the following code:

Dim QueryName  As String
    Dim sql As String
    Dim rc As Integer
    Dim db As Database
    Dim qdf As QueryDef
   
    QueryName = "qry_processorStarted"
    DoCmd.OutputTo acOutputQuery, QueryName, acFormatXLS, , True

The query uses Group By to get a count on one of the fields.
I have four fields:
One uses nested iif statements to assign the processor's name (converts it from their ID number to their name),
the Count field (which counts the number of records by processor)
StartDate and
EndDate, which are both input by the user in the uderlying query to set the criteria for dates to run.
The data is all correct in my query. However, when I go to export the data into Excel, the first two fields show up fine, and the StartDate and EndDate fields are blank.
Again, they show up correctly if I just run the query. Any ideas on what to look for to get these dates to show up?

Answer : Dates Don't show up when Output to Excel

You need to change at DB_B AS well if u r planning to modify the procedure proc_b in future to avoid time stamp mismatch

please see the refernce from the link

http://psoug.org/reference/db_link.html

Server-side PL/SQL users (ie in DB_A ) can choose to use the signature dependency mode if they have a distributed system and they want to avoid possible unnecessary recompilations.

Client-side PL/SQL users (ie in DB_B) should set the parameter to SIGNATURE. This allows:
1. Installation of new applications at client sites, without the need to recompile procedures.

2.  Ability to upgrade the server, without encountering timestamp mismatches.

Random Solutions  
 
programming4us programming4us