Search found 38 matches
- Fri Feb 05, 2016 5:56 pm
- Forum: Technical / Scripting
- Topic: Single Quote in SQL Query
- Replies: 3
- Views: 3726
Re: Single Quote in SQL Query
I got it!! Turns out alot easier to do. The problem comes with the "where DetailNo = '%PartNo%' part of the SQL statement. When PartNo has a single quote in it, like "ABCD-5'XL" then the SQL becomes "where DetailNo = 'ABCD-5'XL' " and SQL doesn't like that. But if I replace the single quote with two...
- Fri Feb 05, 2016 4:17 pm
- Forum: Technical / Scripting
- Topic: Single Quote in SQL Query
- Replies: 3
- Views: 3726
Single Quote in SQL Query
I am trying to do a SQL query on a csv file that looks like this. Select * from %PO_File% where DetailNo = '%PartNo%' Simple right? The problem is that some of the values for PartNo have a single quote ( ' ) in it that mess up the query. So does anyone have a work around? I tried to do a StringRepla...
- Fri Jan 29, 2016 4:40 pm
- Forum: Technical / Scripting
- Topic: Clearing a StringGrid
- Replies: 9
- Views: 7487
Re: Clearing a StringGrid
Thank you for your help! This is what I feared I would have to do, but I hadn't figured out how to manipulate my queried data yet to add a "blank". Next task I guess. EDIT: Turns out adding this one line makes it work. StringReplace>CsvFile,%CRLF%,%COMMA%%CRLF%,CsvFile Thanks as well for the heads u...
- Thu Jan 28, 2016 10:36 pm
- Forum: Technical / Scripting
- Topic: Clearing a StringGrid
- Replies: 9
- Views: 7487
Re: Clearing a StringGrid
To get the editable column, I set the column number to one more than the data I am receiving via the query and making the StringGrid editable. I have looked at all of the variables and the data is completely cleared out, so my theory is that there is some behind the scenes memory that I can't obviou...
- Thu Jan 28, 2016 7:13 pm
- Forum: Technical / Scripting
- Topic: Clearing a StringGrid
- Replies: 9
- Views: 7487
Clearing a StringGrid
I have a dialog that displays queried data in a StringGrid. I have figured out how to add a column for the user to enter data into the StringGrid object that I can then save into a new CSV file. This all works great until I want to go to the next queried record. I have a "Clear" button that clears b...
- Mon Nov 09, 2015 1:38 pm
- Forum: Technical / Scripting
- Topic: SQL Wildcard Issue
- Replies: 3
- Views: 3200
Re: SQL Wildcard Issue
That did it.
Thank you JRL!
Thank you JRL!
- Fri Nov 06, 2015 9:45 pm
- Forum: Technical / Scripting
- Topic: SQL Wildcard Issue
- Replies: 3
- Views: 3200
SQL Wildcard Issue
I am having a problem with the following lines: GetDialogProperty>PartLookUpDialog,PartCode,Text,varCode GetDialogProperty>PartLookUpDialog,PartDesc,Text,varDescrip Let>PartStr=Select Products.Code, Products."Desc" From "Products" where (Products.Code Like '%varCode%%') and (Products."Desc" Like '%v...
- Thu Sep 24, 2015 4:56 pm
- Forum: Technical / Scripting
- Topic: Problem with EasyPatterns Filename patterns
- Replies: 1
- Views: 2204
Problem with EasyPatterns Filename patterns
I am trying use RegEx with the EasyPatterns Filename patterns of [Filename] and [Path] but I get the error "Path is not a valid keyword".
Is the [Filename] and [Path] not supported?
Thanks
Code: Select all
Input>TrackFile,Enter Tracking CSV file
Let>Pattern=[Path]
RegEx>Pattern,TrackFile,1,TrackPath,Track_Num,0
Thanks