Find/Change Varying dates..
I have a varied dates that appear throughout a LONG document.. for instance "January 14, 1945" date changes all the time of course.. usually appears at start of a paragraph.. i need to set up a find/change to be able to select it, and I need to change it's style.. is this the wildcard choice somehow in find/change?
try a GREP search for \<\w+\.? \d\d?, \d{4}\> (those are ordinary typed spaces after the first ? and the comma). If should find dates with months spelled out or abbreviated with or without a period. You can use this in a GREP Style as part of a paragraph style to apply your character style so you don't need find/change
Similar Messages
-
Find/Change (Multiple Date Changes in one Find)
Hi ID geniuses, got a question for your gigantic brains.
This may or may not be an easy one...
I do a lot of production work and I'd like to create a Find/Change or even a GREP search that will allow me to change multiple blank dates at once).
the format changes from file to file and follows these 4 formats usually and all 4 formats could be used in one document.
XX/XX/XX (8 characters)
XX/XX/10 (8 characters)
XX/XX/2010 (10 characters)
9/26/10 - wrong date in place already. (6 – 8 characters depending on the month)
Instead of having 4 different searches, is it possible to do one search that look for any of these text formats and change them at once?
Any ideas/guidance will be appreciated.
Thanks for your time.Piece of cake.
Of course GREP comes to the rescue. Enter this in your search field:
\b((XX|\d{1,2})/){2}(XX|\d{2,4})\b
and it'll find any of your examples. Wot Doth This All Mean?
\b a Word break -- there must not be a word character before this entire expression. This means it'll ignore "XXX/XX/XX".
( repeat group -- see below
( XX | \d{1,2} ) Either "XX" (exactly) or "a digit, 1 or 2". This means it'll ignore "XXX/XX/XX" (three exes), pick up "1/2/3" (one digit), ignore "123/123/123" (three digits)
/ A slash. Nothing special, except ...
) .. since this is the end of the repeat group ...
{2} ... we want twice the sequence "XX/" (or "digit/"), to match "XX/XX/" and every possible combo with digits as well.
( oh yet another group. That's because ...
XX .. this literal text ...
| ... OR ... (hold on, I'm gettin' there)
\d{2,4} .. two to four digits should be matched ..
) .. in this entire group.
\b Phew! A Word break to prevent it matching "12/34/56789" -
Not able to change variant data
i am changing selection screen date range and clicking on save and it is asking for overwriting and got message like variant saved , but when i come back and checked dates remains same.
please help here.Hi,
check in the variant attribute page to see if this check box "Save Parameter without Values" is checked for the date fields. If this is checked then,values you change in the screen will not be saved. You need to either uncheck this box or reconfigure your dynamic variant so that it will change to the dates you want to see there.
Thanks & regards. -
Finder changed creation date on my picture files after upgrading to 10.5
maybe somebody on that forum can help me. I installed Leopard on my Macbook pro. it works ok a bit sluggish not as smooth as the old tiger. But my biggest problem all my pictures (wedding photos of clients) the creation date in finder has changed to Dec31 1903 9am or 8am. Anybody has a clue how i can reset that or are all creation dates are lost
Welcome to the forums... unfortunately SMB issues are not fully mainstream.
Anyhow, I have scanned the change log of files touched by the update (searching for SMB - original list courtesy of Rixstep). This yielded:
/Library/Preferences/SystemConfiguration/com.apple.smb.server.plist
/private/etc/smb.conf
/System/Library/CoreServices/SmbFileServer.bundle/Versions/A/Resources/DesktopDe faults.plist
/System/Library/LaunchDaemons/com.apple.smb.server.preferences.plist
/System/Library/LaunchDaemons/com.apple.smbfsloadkext.plist
/System/Library/LaunchDaemons/smbd.plist
/private/etc/smb.conf.template
/System/Library/Extensions/smbfs.kext
/System/Library/Extensions/smbfs.kext/Contents/CodeDirectory
/System/Library/Extensions/smbfs.kext/Contents/CodeRequirements
/System/Library/Extensions/smbfs.kext/Contents/CodeResources
/System/Library/Extensions/smbfs.kext/Contents/CodeSignature
/System/Library/Extensions/smbfs.kext/Contents/Info.plist
/System/Library/Extensions/smbfs.kext/Contents/MacOS/smbfs
/System/Library/Extensions/smbfs.kext/Contents/Resources/load_smbfs
/System/Library/Extensions/smbfs.kext/Contents/version.plist
/System/Library/Filesystems/smbfs.fs
/System/Library/Filesystems/smbfs.fs/Contents
/System/Library/Filesystems/smbfs.fs/Contents/Info.plist
/System/Library/Filesystems/smbfs.fs/Contents/Resources
/System/Library/Filesystems/smbfs.fs/Contents/Resources/English.lproj
/System/Library/Filesystems/smbfs.fs/Contents/Resources/English.lproj/InfoPlist. strings
/usr/lib/sasl2/smb_lm.so
/usr/lib/sasl2/smb_nt.so
/usr/lib/sasl2/smb_ntlmv2.so
/private/var/db/smb.conf
Items highlighted in bold could be relevant.
Have you checked that your entry in nsmb.conf is intact? If it is, could it be overridden by a change to one of the other conf files (or a plist)? -
Where we find changes in data of table
if log the table , it records the changes made to the data in the
table , where it stores the data.
regards,
ChanduCheck the tables CDHDR, CDPOS
CDHDR - Change Document Header table
CDPOS - Change Document Item table
Regards. -
How to find the Column data type changes in table
Hi All,
I need to find out the column data type changes where made recently in table .
How do i check past changes in column data type. Any data dictionary are there to find out the data type changes in the column .
Thanks in advance..<FONT FACE="Arial" size=2 color="2D0000">
You have the answer on hand (user_arguments / all_arguments)!
SQL> desc user_arguments
Name Null? Typ
OBJECT_NAME VARCHAR2(30)
PACKAGE_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
OVERLOAD VARCHAR2(40)
ARGUMENT_NAME VARCHAR2(30)
POSITION NOT NULL NUMBER
SEQUENCE NOT NULL NUMBER
DATA_LEVEL NOT NULL NUMBER
DATA_TYPE VARCHAR2(30) --> Data Type
DEFAULT_VALUE LONG
DEFAULT_LENGTH NUMBER
IN_OUT VARCHAR2(9) -->Argument direction (IN,OUT,or IN/OUT)
DATA_LENGTH NUMBER
DATA_PRECISION NUMBER
DATA_SCALE NUMBER
RADIX NUMBER
CHARACTER_SET_NAME VARCHAR2(44)
TYPE_OWNER VARCHAR2(30)
TYPE_NAME VARCHAR2(30)
TYPE_SUBNAME VARCHAR2(30)
TYPE_LINK VARCHAR2(128)
PLS_TYPE VARCHAR2(30)
CHAR_LENGTH NUMBER
CHAR_USED VARCHAR2(1)
Look for Data_Type where IN_OUT say OUT. That will be the data type retruned by that function.
Edited :
or POSITION in argument list,or null for function return value
-SK
</FONT> -
Is it possible to batch change dates in a spreadsheet? How would you change the month on a row of dates Ex: 05/02/08, 05/15/08, etc. to 06/02/08, 06/15/08, etc. I've tried the find change command with dates in many formats (mm/dd/yy; m/dd; May 2, 2008; May 2, etc) with no success.
I though I should be brief in posting my question but after the spanking I just received, I'll give more details of what I did before I posted my question so that you'll see all that I tried before asking for help.
1. Last month I searched through the Help in the Numbers application and did not find a solution.
2. Last month I posted my question to another user group that I belong to and no one could answer because they stated they did not have that much experience with Numbers.
3. Tonight I tried the application's Help, but still no answers.
4. Tonight I decided to give Apple Discussions a try. I searched 'Find/Change' under Numbers and received 113 hits. I read every single one of the posts. While none spoke directly about changing 'Dates', I tried the items discussed such as changing to text 360, making changes, then back to numeric, but this did not work for me either.
5. I tried changing my dates to all the various formats and again, no effects.
6. And during all my attempts I also tried the various options (next, find and replace, replace, etc.) alone or in combinations.
7. I came back to the Apple Discussions and posted my question.
And regarding the way I posted my question, I felt I should post a new Topic under Numbers since Dates was not part of the 113 discussions on Find/Change. Also, since the original question was different than mine I felt I might "get in trouble" for posting within that discussion. I see I was wrong, so yes, my newbie status of 2 posts is my excuse. -
Changing date format (find/change?)
Hello, I have little bit tricky question.
I have document full of dates:
01.01.2013
02.01.2013
05.01.2013
And i want to change all these dates just to:
01. Mon
02. Tue
05. Fri
Is there a possibility to do that within Indesign? Thank you for your answers.OrcusDei wrote:
Sandee, you got it exactly right. That's very unfortunate. It's pretty simple data formating and i'm surprised InDesign can't nativly do that O_O
InDesign is not a data formating tool - nor is it a word processor. It's a layout tool for creating print/web ready documentation.
It can do a lot of things - but it can't reformat your data.
I would have done the same as you did - but I would have added a blank character style(create a char style based on None and don't select any options) to the numbers and created an index.
http://www.kahrel.plus.com/indesign/index_charstyles.html
Brought that to Excel and converted the text to the way it was supposed.
Then prepare the "FindChangebyList" in the scripts panel.
http://indesignsecrets.com/find-change-scripting-goodness.php -
I have a large number of photos imported into iPhoto with the dates wrong. How can I adjust multiple photos (with varying dates) to the same, correct, date?
If I understand you correctly, when you enter a date in the Adjust Date and Time window, the picture does not update with the date you enter. If that is the case then something is wrong with iPhoto or your perhaps your library.
How large a date change are you putting in? iPhoto currently has an issue with date changes beyond about 60 years at a time. If the difference between the current date on the image and the date you are entering is beyond that range that may explain why this is not working.
If that is not the case:
Remove the following to the trash and restart the computer and try again:
Home > Library > Caches > com.apple.iphoto
Home > Library > Preferences > com.apple.iPhoto (There may be more than one. Remove them all.)
---NOTE: to get to the "home > library" hold down option on the keyboard and click on "Go" > "Library" while in the Finder.
Let me know the results. -
Hi....
We are trying to change posting date (which is in new Fiscal year 2012) for an FB60 parked invoice , but following error message is coming
"Changing of document number or fiscal year not possible here
Message no. FP041"
How to fix the error.
Regards
VishnuDear expert
Once you had pressed enter key and when the posting date is greyed out, if tend to change it press key F12 and click on yes. This would reset the field and you can enter the correct date...
OR
Try to reset the variant in FB60, go to the FB60 from the menu select edit --> screen variant -->reset screen variant. Or go to SHD0 and give the transaction code and select transaction variant or press F4 to find the variants or you can create your own.
Regards
Ajeesh.s -
Find/Change problems within a nested style?
I have a problem with Find/Change (in both CS4 and CS5) not recognizing text within its “find” parameters when text that fits those parameters is part of a nested style. I want to find any instance of italic in the text, regardless of what paragraph or character style it is, but F/C only intermittently finds italics, both within and without that text existing in a nested style. Has anyone come across this issue?
There is NOTHING different about the text that is recognized by F/C–or not recognized–that shows up in any of the panels or palettes. There are no font conflicts. I’ve replaced prefs and saved data files. If I go into the character palette and change the italic portion of the nested style to “italic” character style (it shows up in character palette as [none], even though it has a nested style), then F/C finds it for sure; but if I don’t do that, then F/C will sometimes find it, and sometimes not, and sometimes in one instance and not in another! There is no hidden formatting that shows up in story editor. I remade another nested para style with the same formatting but with varying results! Help… I’ve tried everything.I have a problem with Find/Change (in both CS4 and CS5) not recognizing text within its “find” parameters when text that fits those parameters is part of a nested style. I want to find any instance of italic in the text, regardless of what paragraph or character style it is, but F/C only intermittently finds italics, both within and without that text existing in a nested style. Has anyone come across this issue?
There is NOTHING different about the text that is recognized by F/C–or not recognized–that shows up in any of the panels or palettes. There are no font conflicts. I’ve replaced prefs and saved data files. If I go into the character palette and change the italic portion of the nested style to “italic” character style (it shows up in character palette as [none], even though it has a nested style), then F/C finds it for sure; but if I don’t do that, then F/C will sometimes find it, and sometimes not, and sometimes in one instance and not in another! There is no hidden formatting that shows up in story editor. I remade another nested para style with the same formatting but with varying results! Help… I’ve tried everything. -
Unable to change the data in PSA
Hello All,
I have a delta failure because of invalid characters in one of the field and now i wanted to change the PSA. I have deleted the request from all data targets and started changing the error record, it is not showing all columns from PSA hence i am unable to change the data in required field.
Could you please let me know how will i see all columns from PSA. Thanks
Regards,AshokHi Ashok,
To increase/decrease the number of columns that are displayed on the menu from the Settings option select Change display variants
Also if you want to see say all the failed records you can sort the order of the data using the Status column -
Crystal ActiveX Runtime Lib: Change text data source path at run time.
We have some PCs running Crystal Reports 10 and some running CR 9 and 8.5. For each PC, we set up a System DSN ODBC data source (in Control Panel - Administrative Tools) for pulling data from text files to
generate reports.
Recently we wrote some routines (see the Visual Basic example at the
end of this message) to change the path of the data files at runtime.
According to the Crystal Reports Technical Reference Guide, we may use
the method LogOnServer() of an Application object or an DatabaseTable
object. However, we find that this does not work: the PrintOut()
method only pulls data from the default path as configured for the
System DSN, not from the path passed as the third parameter of
LogOnServer(). It does not return any error message.
We have also tried to use SetTableLocation() method, and it still does
not work.
Would any experts examine our code below and advise what we are missing? Thanks.
For the following VB example, we have:
System DSN Name: AP_WORKSHEET
Driver: Microsoft Text Driver
Database Directory: D:\0ood2 (i.e. the default path)
Crystal Report Document: D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt
(Which specifies that the data source text file name is BlockWS.txt)
Purpose : We would like to read the data source text file from
D:\0ood1 instead of the default path.
Following is the code of the VB macro:
Sub test()
Rem In this version of the subroutine, we call
Rem DatabaseTable.LogOnServer() and "Rem"ed out
Rem Application.LogOnServer() and SetTableLocation().
Rem We have un"Rem"ed each of them and "Rem"ed others and try to run.
Rem In all runs, data are pulled from the default file
Rem D:\0ood2\BlockWS.txt instead of D:\0ood1\BlockWE.txt.
Dim crxapp As CRAXDRT.Application
Dim crxRep As CRAXDRT.Report
Dim crxDB As CRAXDRT.Database
Dim crxTab As CRAXDRT.DatabaseTable
Dim crxConnPs As CRAXDRT.ConnectionProperties
Dim crxConnP As CRAXDRT.ConnectionProperty
Dim apropSubLoc As String
Dim apropConnBufStr As String
Set crxapp = CreateObject("CrystalRuntime.Application")
Rem
crxapp.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
Set crxRep = crxapp.OpenReport
("D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt")
Set crxDB = crxRep.Database
Set crxTab = crxRep.Database.Tables(1)
apropConnBufStr = crxTab.ConnectBufferString
apropSubLoc = crxTab.SubLocation
crxDB.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
Rem crxTab.SetTableLocation "D:\0ood1\BlockWS.txt", apropSubLoc, "DSN="
Rem Set crxConnPs = crxTab.ConnectionProperties
Rem Set crxConnP = crxConnPs.Item("DSN")
Rem crxConnP.Value = "AP_WORKSHEET"
Rem Set crxConnP = crxConnPs.Item("Database")
Rem crxConnP.Value = "D:\0ood1\BlockWS.txt"
Rem crxTab.Location = "BlockWS.txt"
crxRep.DiscardSavedData
crxRep.PrinterSetup (0)
crxRep.PrintOut
End Sub
For VB macros, the problem exists in all of CR 8.5, 9 and 10. However,
for another platform we are using, Unify Vision 4GL, it works for CR
8.5 while not working for CR 9 and 10.
Following is the source code in Unify Vision 4GL. This language may
not be popular, but I thin you are about to see how it calls the
Runtime Library methods LogOnServer(), OpenReport(), PrinterSetup() and
PrintOut().
%gfPrintCrystalReport
BOOL FUNCTION gfPrintCrystalReport($reportName)
BEGIN
if NOTMKNOWN(GF:$oSeagateId) then
create service of activex
class 'CrystalRuntime.Application'
object_ref into GF:$oSeagateId;
if MKNOWN(GF:$oSeagateId) then
begin
/* TD23013: Database directories are dynamic to
accommodate multiple user requirement of Citrix */
send message LogOnServer to GF:$oSeagateId
using
( 'PDSODBC.DLL', 'AP_WORKSHEET', '<CRWDC>DBQ='+GF:$WinTempDir,'','')
identified by $msgHandle;
if $msgHandle:MSG_STATE 'RESPONSE_PROCESSED'
then
begin
display 'Crystal Reports cannot connect
to the datasource ' for fyi_message wait;
return (FALSE)
end
send message OpenReport to GF:$oSeagateId using
($reportName, 1)
identified by $msgHandle returning
$oCrystalReport
if MKNOWN($oCrystalReport) then
begin
if (NOTMKNOWN(GF:$printerName)) then
set GF:$printerName to
$oCrystalReport->PrinterName;
if GF:$printerName $oCrystalReport-
PrinterName then
send message SelectPrinter to
$oCrystalReport
using
(GF:$driverName,GF:$printerName,GF:$portName)
identified by $msgHandle;
set $oCrystalReport-
DisplayProgressDialog to FALSE;
while TRUE
begin
DISPLAY NOTICE 'Print to : ' +
GF:$printerName
LABELS 'Ok'
DEFAULT, 'Cancel', 'Printer Setup'
RESULT INTO $userOption
switch ($userOption)
begin
case 0 :
send
message PrintOut to $oCrystalReport
using
(PROMPT_USER, NUMBER_OF_COPIES, COLLATED, START_PAGE, STOP_PAGE)
identified by $msgHandle;
set
$oCrystalReport to UNDEFINED
return
(TRUE);
case 1:
set
$oCrystalReport to UNDEFINED
return
(FALSE);
case 2:
send
message PrinterSetup to $oCrystalReport
using
(0)
identified by $msgHandle;
if
GF:$printerName $oCrystalReport->PrinterName then
begin
set GF:$printerName to $oCrystalReport->PrinterName;
set GF:$driverName to $oCrystalReport->DriverName;
set GF:$portName to $oCrystalReport->PortName;
end
break;
end
end
end
end
return
(FALSE);
ENDHi Sydney,
If you search the Developers help file you'll find info on using the method:
How to change the data source
This example demonstrates how to change the data source from native Access to an OLEDB (ADO) data source by using the ConnectionProperty Object, as well as how to change the table name by using the Location property of the DatabaseTable Object. CrystalReport1 is connected to the xtreme.mdb database found in the \Program Files\Crystal Decisions\Crystal Reports 10\Samples\En\Databases folder. The report is using the Customer table. A copy of the Customer table is added to the pubs database on Microsoft SQL Server.
' Create a new instance of the report.
Dim Report As New CrystalReport1
Private Sub Form_Load()
' Declare a ConnectionProperties collection.
Dim CPProperties As CRAXDRT.ConnectionProperties
' Declare a DatabaseTable object.
Dim DBTable As CRAXDRT.DatabaseTable
' Get the first table in the report.
Set DBTable = Report.Database.Tables(1)
' Get the collection of connection properties.
Set CPProperties = DBTable.ConnectionProperties
' Change the database DLL used by the report from
' native Access (crdb_dao.dll) to ADO/OLEDB (crdb_ado.dll).
DBTable.DllName = "crdb_ado.dll"
' The connection property bags contain the name and value
' pairs for the native Access DLL (crdb_dao.dll). So we need
' to clear them, and then add the name and value pairs that
' are required to connect to the OLEDB data source.
' Clear all the ConnectioProperty objects from the collection.
CPProperties.DeleteAll
' Add the name value pair for the provider.
CPProperties.Add "Provider", "SQLOLEDB"
' Add the name value pair for the data source (server).
CPProperties.Add "Data Source", "ServerA"
' Add the name value pair for the database.
CPProperties.Add "Initial Catalog", "pubs"
' Add the name value pair for the user name.
CPProperties.Add "User ID", "UserName"
' Add the name value pair for the password.
CPProperties.Add "Password", "password"
' Set the table name. ' for SQL types it would be "database.dbo.table"
DBTable.Location = "Customer"
Screen.MousePointer = vbHourglass
' Set the report source of the viewer and view the report.
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
End Sub -
Why does placing links in Illustrator now change the "Date Modified" data for all of my files?
This seems to be a new glitch that started after I installed the latest updates to Illustrator CC (2014) and reoccurs every time on both computers I work on:
When I choose to place a new image in my Illustrator file and the window opens to let me choose a file to place, the "Date Modified" field of all the files in the folder I'm viewing (except other Illustrator files) quickly changes to the current date and time. This is definitely happening when I'm in Illustrator because when I needed files from a folder that had hundreds of images in it and I was able to select a file quickly, I was able to do so before it had changed the date on all of my files. However, when I needed a file from a folder that had hundreds of images in it but I took a long time to find the image I needed, Illustrator had time to change the date modified on all of my files. This might seem like an unimportant issue because it doesn't actually seem to modify or damage any of my files, but having all of the dates change on my files is a serious problem for my workflow and file management issues. So far, my only work around has been to use back-up image files, but that's not a long term solution and I don't understand why Illustrator should be modifying the dates of my files.
Is there a setting I can choose somewhere to prevent this problem? If not, is there somewhere I can report this kind of glitch? I'm not sure if I'm using the exact language necessary to get the issue across so please let me know if you have any questions! Thanks!iCloud is not compatible with Snow Leopard, that is your problem.
A quick way out is to purchase Soho Organizer which is compatible, even when running on Snow Leopard, it will correctly handle Contacts and Calendars from iCloud. $100, 2 user license.
Soho Organizer
There is a free trial if you want to try it. -
Is there a way of changing photos' dates all at once?
Hi,
I imported a number of photos taken within one week into iPhoto - some of them were assigned a wrong date by my camera which made the last photos the first ones in the folder.
I know I can change the photos' dates manually one by one, but is there any workaround to select multiple photos and change their dates simultaniously? I couldn't find any automator action...anybody who knows a hint?
Thanks
MacBook 2.0 GHz; 1,25 GB RAM; 60 GB HDD Mac OS X (10.4.8) iPhoto 06Hi Terence,
thanks for the reply. It does work. Could have figured it out myself, I guess...but I always marked the photos and then tried to change their dates in this little information box in the lower left corner (which doesn't work).
Best regards
MacBook 2.0 GHz; 1,25 GB RAM; 60 GB HDD Mac OS X (10.4.8)
Maybe you are looking for
-
After converting a windows-based Powerpoint 2007 presentation to an Acrobat Pro 9.0 PDF, the file path location of all photos and objects are shown in a dialogue box when the cursor is moved over the image as seen in this screenshot below. How can I
-
DB Installation Design Decision
I am planning to install Orcale 9i on a solaris platform. I need to know the best way to install it on a RAID system, I guess I am going to go with RAID5 for the Oracle Home but what kind of RAID should I use for installing datafiles, or should I eve
-
Parallel ledgers & Special ledgers in ECC 6.0
Hi all, we are working with ECC 6.0 and we need to know if in ECC 6.0 it's possible work with special ledgers and parallel ledgers togethers? Thanks in advance Alfonso
-
Are there any tables which stores the directories? I know USER_DIR but it only shows the user made directories. please tell me.
-
Hi friends, How to delete a sale order? And how to view the already deleted sale order with details like who has deleted the order and all? Regards Ramesh